πŸ§ͺ Laravel MCQ Quiz Hub

Laravel MCQ (Multiple Choice Question) Set 1

Choose a topic to test your knowledge and improve your Laravel skills

Who Created Laravel?





βœ… Correct Answer: 2

What is the use of .env file in Laravel?





βœ… Correct Answer: 1

Command to start Laravel Application?





βœ… Correct Answer: 4

Command to install laravel project?





βœ… Correct Answer: 1

By default laravel project runs on which PORT?





βœ… Correct Answer: 3

CLI Command to migrate in Laravel project?





βœ… Correct Answer: 3

Command to get the route list in Laravel?





βœ… Correct Answer: 2

CLI Command to create controller in laravel?





βœ… Correct Answer: 1

Command to make migration in laravel?





βœ… Correct Answer: 2

Command to check the status of migration in laravel application?





βœ… Correct Answer: 3

Command to roll back migration operation in laravel?





βœ… Correct Answer: 3

Command to rollback all migrations operations?





βœ… Correct Answer: 1

In which file we can set database connections?





βœ… Correct Answer: 3

Can laravel application support caching?





βœ… Correct Answer: 1

What is laravel?





βœ… Correct Answer: 1

Command to check the current version of the Laravel Framwork?





βœ… Correct Answer: 4

Command to check the current version of the Laravel Framwork?





βœ… Correct Answer: 4

Command to create middleware in laravel application?





βœ… Correct Answer: 1

What are the ways to get the data from database in laravel?





βœ… Correct Answer: 3

Full form of ORM in laravel?





βœ… Correct Answer: 1

Laravel is based on which design pattern?





βœ… Correct Answer: 2

which command is used to clear the cache in laravel?





βœ… Correct Answer: 1

In which folder .htaccess file is located in laravel?





βœ… Correct Answer: 4

In which directory robots.txt file is located?





βœ… Correct Answer: 2

Which command is used to cache configuration in laravel?





βœ… Correct Answer: 4

Command to enable maintenance mode in laravel?





βœ… Correct Answer: 1

Command to Disable Maintenance Mode in laravel?





βœ… Correct Answer: 1

The vendor directory contains in laravel?





βœ… Correct Answer: 3

Method to determine if the user is authenticated?





βœ… Correct Answer: 1

Method to logout authenticated user in laravel?





βœ… Correct Answer: 2

Method to logout authenticated user from other devices in laravel?





βœ… Correct Answer: 1

Method to create Hash password in laravel?





βœ… Correct Answer: 3

Which method returns the average value of a given key ?





βœ… Correct Answer: 2

Bootstrap directory in Laravel is used to





βœ… Correct Answer: 1

Which artisan command is used to remove the compiled class file.





βœ… Correct Answer: 1

Which artisan command is used to remove the compiled class file.





βœ… Correct Answer: 1

Which method breaks the collection into multiple, smaller collections of a given size





βœ… Correct Answer: 2

Artisan command to flush the application cache:





βœ… Correct Answer: 2

The vendor directory contains





βœ… Correct Answer: 3

For what do the .env is used?





βœ… Correct Answer: 1

Which directory contain β€œrobot.txt” file ?





βœ… Correct Answer: 2

Interpolation of variable in laravel done using





βœ… Correct Answer: 2

What is the HTTP Status Code for your website. When it is down for maintenance.





βœ… Correct Answer: 4

__() in laravel used for





βœ… Correct Answer: 2

Where do we need to set database connection in Laravel?





βœ… Correct Answer: 4

What is the minimum PHP version required to install Laravel 5.3?





βœ… Correct Answer: 2

How to set a session data in Laravel?





βœ… Correct Answer: 3

Who developed Laravel?





βœ… Correct Answer: 2

Who developed Laravel?





βœ… Correct Answer: 2

How to create a controller in laravel by cmd?





βœ… Correct Answer: 3