Cancel Preloader
Unlimited Online Free Software Download! Get 100% Free
Hurry up!
Location: Bapunagar
Call: 800 053 0134
Email: info@hitechskillindia.in
Courses
CCC
Accounting
Software Development
Designing
Mobile Development
Digital Marketing
Specialized Courses
Live Project Training
Home
About
Placement Student's
Quiz
Level 1 Software Quiz
CCC Quiz
TallyPrime + GST Quiz
C, C++ Quiz
PHP Quiz
Python Quiz
Java Quiz
ASP.NET Quiz
Angular Quiz
React Quiz
Front-End Quiz
Fullstack Quiz
Flutter Quiz
Web Development Quiz
ASP.NET MVC Quiz
Web Design Quiz
iOS Quiz
Android Quiz
React Native Quiz
Digital Marketing Quiz
Advance Digital Marketing Quiz
.Net Core Quiz
WordPress Quiz
Magento Quiz
Joomla Quiz
NodeJS Quiz
Laravel Quiz
Blog
Contact
E-Brochure
hot
Gallery
Seminar
Career
We Are Hiring
Inquiry Now
Home
About Us
Courses
CCC
Accounting
Software Development
hot
Designing
Mobile Development
new
Digital Marketing
Specialized Courses
new
Live Project Training
hot
Placement Student's
Quiz
Software Development
Level 1 Software Quiz
CCC Quiz
TallyPrime + GST Quiz
C, C++ Quiz
PHP Quiz
Python Quiz
Java Quiz
ASP.NET Quiz
Angular Quiz
React Quiz
Front-End Quiz
Fullstack Quiz
Flutter Quiz
Web Development Quiz
ASP.NET MVC Quiz
Web Design Quiz
iOS Quiz
Android Quiz
React Native Quiz
Digital Marketing Quiz
Advance Digital Marketing Quiz
.Net Core Quiz
WordPress Quiz
Magento Quiz
Joomla Quiz
NodeJS Quiz
Laravel Quiz
Blog
Contact Us
More
New
E-Brochure
hot
Gallery
Seminar
Career
We Are Hiring
LARAVEL Quiz
Home
Quiz
LARAVEL Quiz
LARAVEL Quiz
Welcome!
Quiz
Q.
1 What does ORM stands for in laravel?
A.
object-related Modifier
B.
overloaded-relational Mapping
C.
object-Rotational Mechanisim
D.
object-relational Mapping
Answer
object-relational Mapping
Q.
2 Which command is used to create migrations in Laravel?
A.
php artisan make:migration create_users_table
B.
php artisan migration create_users_table
C.
php artisan make:migrate create_users_table
D.
none
Answer
php artisan make:migration create_users_table
Q.
3 Composer is a tool for ______ in PHP.
A.
Configuration
B.
Dependency management
C.
Interpolation
D.
none of the above
Answer
Dependency management
Q.
4 Which class is used in Laravel to handle exceptions?
A.
AppExceptionHandler
B.
AppExceptionsHandler
C.
AppExceptionsHandle
D.
None of above
Answer
AppExceptionsHandler
Q.
5 For what do the .env is used?
A.
For running cron jobs
B.
For setting environment variables
C.
For tracking vendors
D.
None of These
Answer
For setting environment variables
Q.
6 Where is the routing file located in Laravel ?
A.
urls/
B.
routes/
C.
vendors/
D.
app/Http/
Answer
routes/
Q.
7 How to check current laravel version install your system?
A.
php artisan check --version
B.
php artisan make --version
C.
php artisan --version
D.
none of the above
Answer
php artisan --version
Q.
8 What is Laravel?
A.
Programming language
B.
PHP framework
C.
Code generator
D.
none of the above
Answer
PHP framework
Q.
9 Where do we need to set database connection in Laravel?
A.
Config.php
B.
Setting.php
C.
In seed files
D.
.ENV file
Answer
.ENV file
Q.
10 Which of the following is true about Laravel?
A.
Laravel is an open-source PHP framework
B.
Laravel is robust
C.
Laravel is easy to understand
D.
All of the above
Answer
All of the above
Q.
11 Command line interface used in Laravel is called?
A.
composer
B.
Artisan
C.
Symphony
D.
ORM
Answer
Artisan
Q.
12 In the MVC framework, the letter ( C ) stands for?
A.
Cookie
B.
Configuration
C.
command prompt
D.
Controller
Answer
Controller
Q.
13 Cookie can be created by global cookie helper of Laravel.
A.
TRUE
B.
FALSE
C.
Can be true or false
D.
Can not say
Answer
TRUE
Q.
14 In MVC framework, the letter "V" stands for Views.
A.
TRUE
B.
FALSE
C.
Can be true or false
D.
Can not say
Answer
TRUE
Q.
15 Which version introduces the concept of using Blade?
A.
Laravel 2.1
B.
Laravel 3.1
C.
Laravel 4.1
D.
Laravel 5.1
Answer
Laravel 5.1
Q.
16 Laravel uses the Blade @extends directive for defining the child elements
A.
TRUE
B.
FALSE
C.
Can be true or false
D.
Can not say
Answer
TRUE
Q.
17 How to create a controller in laravel by cmd?
A.
php artisan make:controller generate
B.
php artisan make:controller contoller_name
C.
php artisan make:controler --plain
D.
php artisan make:request controller_name create
Answer
php artisan make:controller contoller_name
Q.
18 Which keyword allows the developers to shorten the namespace?
A.
extend
B.
use
C.
artisan
D.
class
Answer
use
Q.
19 Which command is used to start laravel server?
A.
php artisan project_name
B.
php artisan serve
C.
artisan start-server
D.
php artisan start php
Answer
php artisan serve
Q.
20 Bootstrap directory in Laravel is used to__________
A.
Initialize a Laraval application
B.
Call laravel library functions
C.
Load laravel classes and models
D.
Load the configuration files
Answer
Initialize a Laraval application
Q.
21 Which one Laravel command line interface?
A.
Composer
B.
Php artisan
C.
Git
D.
CLI
Answer
Php artisan
Q.
22 Why does Laravel use the Blade Template Engine?
A.
As a template
B.
To simplify programming
C.
For the view in MVC
D.
For fun
Answer
For the view in MVC
Q.
23 ________________ can be defined as a class of elements in which each element has a unique name to that associated class.
A.
Routing
B.
Cookie
C.
Namespaces
D.
Request
Answer
Namespaces
Q.
24 Interpolation of variable in laravel done using
A.
{{}}
B.
compact
C.
helpers
D.
None
Answer
{{}}
Q.
25 View files in Laravel end in________
A.
.blade.php
B.
.vue
C.
.blade
D.
.php
Answer
.blade.php
Q.
26 When was Laravel first released?
A.
June 2011
B.
June 2014
C.
June 2020
D.
June 2015
Answer
June 2011
Q.
27 After running "artisan down", The project will show the maintenance page. What would be HTTP Status return Code?
A.
298
B.
503
C.
400
D.
254
Answer
503
Q.
28 Where are all the Laravel Models stored at ?
A.
Inside Laravel database
B.
Within a server
C.
Main app directory
D.
none of the above
Answer
Main app directory
Q.
29 Who developed Laravel?
A.
James Gosling
B.
Rasmus Lerdorf
C.
Taylor Otwell
D.
Guido van Rossum
Answer
Taylor Otwell
Q.
30 What is the purpose of Laravel Blade Template Engine?
A.
Make things harder
B.
Beautify Laravel
C.
Increase workload for students
D.
Makes writing syntax easy and readable
Answer
Makes writing syntax easy and readable
Q.
31 What is the purpose of learning Web Programming?
A.
To install computer programs
B.
To design the computer outlook
C.
To create computer parts
D.
To talk to computers
Answer
To talk to computers
Q.
32 The vendor directory contains
A.
Assets
B.
Laravel Framework code
C.
Third-party code
D.
Configuration files
Answer
Third-party code
Q.
33 Which one of the following command is used to create middleware in Laravel?
A.
php artisan make: middleware
B.
php artisan: middleware
C.
php arti make: middleware
D.
none of the above
Answer
php artisan make: middleware
Q.
34 What is Node JS?
A.
Different version of the normal JavaScript
B.
Special type of JavaScript language
C.
JavaScript runtime environment that executes JavaScript code
D.
none of the above
Answer
JavaScript runtime environment that executes JavaScript code
Q.
35 Laravel is a ____ framework?
A.
PHP
B.
Python
C.
JavaScript
D.
React
Answer
PHP
Q.
36 Does Laravel follow the MVC concept?
A.
TRUE
B.
FALSE
C.
Can be true or false
D.
none of the above
Answer
TRUE
Q.
37 Does Laravel follow the object-oriented approach?
A.
TRUE
B.
FALSE
C.
Can be true or false
D.
none of the above
Answer
TRUE
Q.
38 Does PHP follow the object-oriented approach?
A.
TRUE
B.
FALSE
C.
Can be true or false
D.
none of the above
Answer
TRUE
Q.
39 Laravel is ____ framework?
A.
Frontend
B.
Backend
C.
Webdesign
D.
none of the above
Answer
Backend
Q.
40 Is Laravel an open-source?
A.
TRUE
B.
FALSE
C.
Can be true or false
D.
none of the above
Answer
TRUE
Q.
41 All dependencies are specified in the ____ file, which is located in the source folder?
A.
Root
B.
Config
C.
composer.json
D.
All of the above
Answer
composer.json
Q.
42 How many built-in libraries does Laravel provides?
A.
30
B.
100
C.
20
D.
50
Answer
20
Q.
43 The database definitions and structure are kept in PHP code using ____.
A.
Template engine
B.
Redis
C.
Schema Builder
D.
none of the above
Answer
Schema Builder
Q.
44 ____ installed on your system before you install Laravel.
A.
Browser
B.
Composer
C.
Eloquent
D.
none of the above
Answer
Composer
Q.
45 Which folder in Laravel includes the entire source code of the project?
A.
Events
B.
Public
C.
App
D.
Console
Answer
App
Q.
46 ____ contains the artisan commands required by Laravel.
A.
Events
B.
Public
C.
Jobs
D.
Console
Answer
Console
Q.
47 What is the extension of the folder which includes all the events for the project?
A.
.php
B.
.txt
C.
.xml
D.
.laravel
Answer
.php
Q.
48 What is the name of the file which handles all the exceptions?
A.
Exception_methods.php
B.
Handle.php
C.
Exceptions.php
D.
none of the above
Answer
Handle.php
Q.
49 Which folder in Laravel contains model, controllers and views defined for the specific directories?
A.
Events
B.
Jobs
C.
Public
D.
Http
Answer
Http
Q.
50 Which of the following folder is the root folder and helps in initializing the Laravel application?
A.
Events
B.
Public
C.
Resources
D.
Http
Answer
Public
Q.
51 The ____ folder includes all the composer dependencies?
A.
Events
B.
Public
C.
Vendor
D.
Resources
Answer
Vendor
Q.
52 ____are those that offer your web application with a list of web services.
A.
Events
B.
Environment variables
C.
Routing
D.
Resources
Answer
Environment variables
Q.
53 In which of the following file, environment variables are declared?
A.
.environment
B.
.env_varibales
C.
.env
D.
none of the above
Answer
.env
Q.
54 All requests in Laravel are mapped using ____.
A.
Data binding
B.
ORM
C.
Routes
D.
All of the above
Answer
Routes
Q.
55 ____serves as a link between a request and its response.
A.
Data binding
B.
Routes
C.
Middleware
D.
none of the above
Answer
Middleware
Q.
56 How many types of middleware are there in Laravel?
A.
5
B.
3
C.
4
D.
2
Answer
2
Q.
57 Which of the following functions as a bridge between Views and Models?
A.
Objects
B.
Data binding
C.
Route
D.
Controller
Answer
Controller
Q.
58 The ____function may be used to connect the response to headers?
A.
Header()
B.
Router()
C.
Namespace()
D.
Response()
Answer
Header()
Q.
59 Which of the following separates the application logic and the presentation logic?
A.
Model
B.
Controller
C.
View
D.
none of the above
Answer
View
Q.
60 How many databases does Laravel supports?
A.
5
B.
6
C.
7
D.
4
Answer
4
Q.
61 ____ are used to store information about the user across the requests.
A.
Localization
B.
Memcached
C.
Config
D.
Sessions
Answer
Sessions
Q.
62 How many arguments does the Get() method takes in session?
A.
2
B.
4
C.
1
D.
5
Answer
1
Q.
63 Laravel uses free feature-rich library ____ to send emails?
A.
SwiftMailer
B.
Emailer
C.
Mails
D.
none of the above
Answer
SwiftMailer
Q.
64 What do you mean by CSRF in Laravel?
A.
Cross site forgery attacks
B.
Cross site forgery accounts
C.
Criss spot forgery account
D.
none of the above
Answer
Cross site forgery attacks
Q.
65 Does Laravel generate CSRF token automatically?
A.
TRUE
B.
FALSE
C.
Can be true or false
D.
none of the above
Answer
TRUE
Q.
66 The process of recognising the user credentials is known as ____?
A.
Authorization
B.
Identity management
C.
Authentication
D.
none of the above
Answer
Authentication
Q.
67 Which of the following commands is needed to construct forms and the controllers connected with them in order to accomplish authentication?
A.
php make:auth
B.
php artisan make:auth
C.
artisan make:auth
D.
none of the above
Answer
php artisan make:auth
Q.
68 ____is the controller used for authentication.?
A.
HomeController
B.
CallController
C.
DefaultController
D.
none of the above
Answer
HomeController
Q.
69 In ____, the system or web application determines whether authenticated users may access the resources they are attempting to access or request?
A.
Authorization
B.
Authentication
C.
Identity management
D.
none of the above
Answer
Authorization
Q.
70 Is authorization and authentication the same thing?
A.
TRUE
B.
FALSE
C.
Can be true or false
D.
none of the above
Answer
FALSE
Q.
71 Policies classes arrange authorization logic around a certain model or resource?
A.
Gates
B.
Policies
C.
command prompt
D.
none of the above
Answer
Policies
Q.
72 Which of the following command is used to create a policy?
A.
Create:policy
B.
Insert:Policy
C.
Make:policy
D.
Generate:policy
Answer
Make:policy
Q.
73 ____ is the act of turning plain text to a message using techniques that prevents any third party from reading the information?
A.
Decryption
B.
Encryption
C.
Symphony
D.
none of the above
Answer
Encryption
Q.
74 Which AES algorithm is used by Laravel?
A.
AES-256
B.
AES-128
C.
Both
D.
none of the above
Answer
Both
Q.
75 Is Error 403 and Error 404 the same kind of errors?
A.
TRUE
B.
FALSE
C.
Can be true or false
D.
none of the above
Answer
FALSE
Q.
76 Which of the following are the alternatives of Laravel?
A.
Angular.
B.
CodeIgniter.
C.
CakePHP.
D.
All of the above
Answer
All of the above
Q.
77 Which of the following is the oldest broadcasting organization who uses Laravel?
A.
Netflix
B.
Facebook
C.
BBC
D.
IBM
Answer
BBC
Q.
78 Command to install laravel project?
A.
composer create-project laravel
B.
composer new-project laravel/laravel myproject
C.
composer create-project new laravel/laravel myproject
D.
composer global require laravel/installer
Answer
composer global require laravel/installer
Q.
79 By default laravel project runs on which PORT?
A.
3000
B.
5000
C.
4000
D.
8000
Answer
8000
Q.
80 CLI Command to migrate in Laravel project?
A.
php artisan create migration
B.
php artisan migrate
C.
php artisan serve
D.
none of the above
Answer
php artisan serve
Q.
81 Command to check the status of migration in laravel application?
A.
php artisan migration status
B.
php artisan status
C.
php artisan migrate:status
D.
none of the above
Answer
php artisan migrate:status
Q.
82 Laravel is based on which design pattern?
A.
Singleton Design Pattern
B.
MVC(ModeI View Controller) Pattern
C.
Factory Design pattern
D.
none of the above
Answer
MVC(ModeI View Controller) Pattern
Q.
83 which command is used to clear the cache in laravel?
A.
php artisan cache:clear
B.
php artisan cache:clearall
C.
php artisan clear:cache
D.
none of the above
Answer
php artisan cache:clear
Q.
84 In which folder .htaccess file is located in laravel?
A.
model
B.
controller
C.
route
D.
public
Answer
public
Q.
85 In which directory robots.txt file is located?
A.
models
B.
public
C.
views
D.
controllers
Answer
public
Q.
86 Method to logout authenticated user in laravel?
A.
Auth::signout();
B.
Auth::logout();
C.
Auth::forgot();
D.
none of the above
Answer
Auth::logout();
Q.
87 .env file exist in directory:
A.
App
B.
Root
C.
Public
D.
storage
Answer
Root
Q.
88 All images and other resources are placed in:
A.
Public Folder
B.
Resource Folder
C.
Image Folder
D.
none of the above
Answer
Public Folder
Q.
89 What is path of controller files ?
A.
app/
B.
app/controller
C.
app/http/controllers
D.
root/controller
Answer
app/http/controllers
Q.
90 Which of the following directory is used to save laravel model files ?
A.
app
B.
Public
C.
resources
D.
routes
Answer
app
Q.
91 Which files are part of auth directory in Laravel?
A.
login
B.
reset password
C.
register
D.
All of the above
Answer
All of the above
Q.
92 Which command is used to make model??
A.
php artisan make:model model_name
B.
php artisan create:model
C.
php artisan model
D.
none of the above
Answer
php artisan make:model model_name
Q.
93 Which of the following methods on Collection will get all the records from it?
A.
all()
B.
some()
C.
get()
D.
enter()
Answer
all()
Q.
94 Does Laravel support Bootstrap?
A.
TRUE
B.
FALSE
C.
Can be true or false
D.
none of the above
Answer
TRUE
Q.
95 What is Full form MVC architecture?
A.
Model, View and Controller.
B.
Migrate, View and Controller.
C.
Model, Viewer and Controller.
D.
none of the above
Answer
Model, View and Controller.
Q.
96 Command to get the route list in Laravel?
A.
php artisan list
B.
php artisan route:list
C.
php artisan route
D.
php artisan list:all
Answer
php artisan route:list
Q.
97 Full form of ORM in laravel?
A.
Object Relation Mapping
B.
Object Relation Master
C.
Object Relation Manager
D.
none of the above
Answer
Object Relation Mapping
Q.
98 How many types of Middleware in Laravel?
A.
2
B.
4
C.
3
D.
5
Answer
2
Q.
99 What is it Blade?
A.
Template Engine
B.
package
C.
View file
D.
framework
Answer
Template Engine
Q.
100 What is laravel 10 version Release date?
A.
February 2022
B.
January 2017
C.
February 2023
D.
June 2011
Answer
February 2023