Loading...
QUIZ

Certification Test

 
Que No. 1 ) What is Laravel's primary routing file called?

A.) routes.php
B.) web.php
C.) routes.config
D.) app.routes


Que No. 2 ) What is the purpose of Laravel's middleware?

A.) To define database schemas
B.) To define routes
C.) To add filters and perform actions before and after HTTP requests
D.) To create Blade templates


Que No. 3 ) Which Laravel feature allows you to perform database queries in an expressive and fluent manner?

A.) Artisan
B.) Eloquent ORM
C.) Blade templating engine
D.) Composer


Que No. 4 ) Which artisan command is used to generate a new controller in Laravel?

A.) php artisan new-controller ControllerName
B.) php artisan make:controller ControllerName
C.) php artisan create:controller ControllerName
D.) php artisan generate:controller ControllerName


Que No. 5 ) What is the purpose of the composer.json file in a Laravel project?

A.) To define the application's environment variables
B.) To specify the project's dependencies and manage packages
C.) To configure database connections
D.) To define Blade templates


Que No. 6 ) Which Laravel feature provides a way to validate form data?

A.) Eloquent ORM
B.) Blade templating engine
C.) Artisan
D.) Form Request Validation


Que No. 7 ) In Laravel, what is the purpose of the storage directory?

A.) To store user-uploaded files and other generated files
B.) To manage database migrations
C.) To define routes
D.) To store application routes


Que No. 8 ) Which Laravel feature allows you to send email messages from your application?

A.) Eloquent ORM
B.) Blade templating engine
C.) Artisan
D.) Mail


Que No. 9 ) What is the purpose of Laravel's artisan command-line tool?

A.) To manage database migrations
B.) To define routes
C.) To create and manage models
D.) To create and manage tasks and commands


Que No. 10 ) Which Laravel feature provides a way to define scheduled tasks and commands?

A.) Eloquent ORM
B.) Blade templating engine
C.) Artisan Scheduler
D.) Composer