NEW
Font size
WorksheetsQuiz 2, XII PPLG
Total questions: 10
Worksheet time: 3mins
What is Laravel?
A front-end framework
A back-end framework
A database management system
A content management system
Which command is used to create a new Laravel project?
`laravel new`
`composer create-project`
`php artisan serve`
`npm init`
What is the purpose of the .env file in a Laravel project?
To store CSS and JavaScript files
To configure environment variables
To define routes for the application
To create database migrations
Which command is used to start the Laravel development server?
php artisan serve
php artisan start:development
composer run
npm run dev
In Laravel, what is a "migration"?
A class used to send emails
A class used to handle HTTP requests
A class used to define the database schema
A class used to create middleware
Which of the following is a feature of Laravel?
Blade Templating Engine
Eloquent ORM
Artisan Console
All of the above
What is Eloquent in Laravel?
A front-end framework
A database query builder
An ORM (Object-Relational Mapper)
A template engine
Which of the following is the default database system for Laravel?
PostgreSQL
SQLite
MySQL
Oracle
Which method is used to define a route that responds to a GET request in Laravel?
Route::post()
Route::get()
Route::put()
Route::delete()
What does MVC stand for in the context of Laravel?
Model-View-Container
Model-View-Component
Model-View-Controller
Model-View-Command
