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
CCC Quiz
TallyPrime + GST Quiz
C, C++ Quiz
PHP Quiz
Laravel Quiz
React Quiz
NodeJS Quiz
Python Quiz
Java Quiz
WordPress Quiz
Digital Marketing Quiz
Front-End Quiz
Fullstack PHP Quiz
Fullstack Python Quiz
Fullstack Java Quiz
Fullstack WordPress Quiz
Fullstack NodeJS Quiz
Blog
Contact
E-Brochure
hot
Gallery
Career
We Are Hiring
Test Exam
Increase your skills
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
CCC Quiz
TallyPrime + GST Quiz
C, C++ Quiz
PHP Quiz
Laravel Quiz
React Quiz
NodeJS Quiz
Python Quiz
Java Quiz
WordPress Quiz
Digital Marketing Quiz
Front-End Quiz
Fullstack PHP Quiz
Fullstack Python Quiz
Fullstack Java Quiz
Fullstack WordPress Quiz
Fullstack NodeJS Quiz
Blog
Contact Us
More
New
E-Brochure
hot
Gallery
Career
We Are Hiring
Test Exam
Increase your skills
LARAVEL Quiz
Home
Quiz
LARAVEL Quiz
Change Course
CCC Quiz
TallyPrime + GST Quiz
C, C++ Quiz
PHP Quiz
Laravel Quiz
React Quiz
NodeJS Quiz
Python Quiz
Java Quiz
WordPress Quiz
Digital Marketing Quiz
Front-End Quiz
Fullstack PHP Quiz
Fullstack Python Quiz
Fullstack Java Quiz
Fullstack WordPress Quiz
Fullstack NodeJS 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
Correct Answer:
D. 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
Correct Answer:
A. 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
Correct Answer:
B. Dependency management
Q.
4
Which class is used in Laravel to handle exceptions?
A.
AppExceptionHandler
B.
AppExceptionsHandler
C.
AppExceptionsHandle
D.
None of above
Correct Answer:
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
Correct Answer:
B. For setting environment variables
Q.
6
Where is the routing file located in Laravel ?
A.
urls/
B.
routes/
C.
vendors/
D.
app/Http/
Correct Answer:
B. 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
Correct Answer:
C. php artisan --version
Q.
8
What is Laravel?
A.
Programming language
B.
PHP framework
C.
Code generator
D.
none of the above
Correct Answer:
B. 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
Correct Answer:
D. .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
Correct Answer:
D. All of the above
Q.
11
Command line interface used in Laravel is called?
A.
composer
B.
Artisan
C.
Symphony
D.
ORM
Correct Answer:
B. Artisan
Q.
12
In the MVC framework, the letter ( C ) stands for?
A.
Cookie
B.
Configuration
C.
command prompt
D.
Controller
Correct Answer:
D. 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
Correct Answer:
A. 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
Correct Answer:
A. 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
Correct Answer:
D. 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
Correct Answer:
A. 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
Correct Answer:
B. 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
Correct Answer:
B. 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
Correct Answer:
B. 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
Correct Answer:
A. Initialize a Laraval application
Q.
21
Which one Laravel command line interface?
A.
Composer
B.
Php artisan
C.
Git
D.
CLI
Correct Answer:
B. 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
Correct Answer:
C. 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
Correct Answer:
C. Namespaces
Q.
24
Interpolation of variable in laravel done using
A.
{{}}
B.
compact
C.
helpers
D.
None
Correct Answer:
A. {{}}
Q.
25
View files in Laravel end in________
A.
.blade.php
B.
.vue
C.
.blade
D.
.php
Correct Answer:
A. .blade.php
Q.
26
When was Laravel first released?
A.
June 2011
B.
June 2014
C.
June 2020
D.
June 2015
Correct Answer:
A. June 2011
Q.
27
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
Correct Answer:
C. Main app directory
Q.
28
Who developed Laravel?
A.
James Gosling
B.
Rasmus Lerdorf
C.
Taylor Otwell
D.
Guido van Rossum
Correct Answer:
C. Taylor Otwell
Q.
29
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
Correct Answer:
D. Makes writing syntax easy and readable
Q.
30
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
Correct Answer:
D. To talk to computers
Q.
31
The vendor directory contains
A.
Assets
B.
Laravel Framework code
C.
Third-party code
D.
Configuration files
Correct Answer:
C. Third-party code
Q.
32
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
Correct Answer:
A. php artisan make: middleware
Q.
33
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
Correct Answer:
C. JavaScript runtime environment that executes JavaScript code
Q.
34
Laravel is a ____ framework?
A.
PHP
B.
Python
C.
JavaScript
D.
React
Correct Answer:
A. PHP
Q.
35
Does Laravel follow the MVC concept?
A.
TRUE
B.
FALSE
C.
Can be true or false
D.
none of the above
Correct Answer:
A. TRUE
Q.
36
Does Laravel follow the object-oriented approach?
A.
TRUE
B.
FALSE
C.
Can be true or false
D.
none of the above
Correct Answer:
A. TRUE
Q.
37
Does PHP follow the object-oriented approach?
A.
TRUE
B.
FALSE
C.
Can be true or false
D.
none of the above
Correct Answer:
A. TRUE
Q.
38
Laravel is ____ framework?
A.
Frontend
B.
Backend
C.
Webdesign
D.
none of the above
Correct Answer:
B. Backend
Q.
39
Is Laravel an open-source?
A.
TRUE
B.
FALSE
C.
Can be true or false
D.
none of the above
Correct Answer:
A. TRUE
Q.
40
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
Correct Answer:
C. composer.json
Q.
41
How many built-in libraries does Laravel provides?
A.
30 libraries
B.
100 libraries
C.
20 libraries
D.
50 libraries
Correct Answer:
C. 20 libraries
Q.
42
The database definitions and structure are kept in PHP code using ____.
A.
Template engine
B.
Redis
C.
Schema Builder
D.
none of the above
Correct Answer:
C. Schema Builder
Q.
43
____ installed on your system before you install Laravel.
A.
Browser
B.
Composer
C.
Eloquent
D.
none of the above
Correct Answer:
B. Composer
Q.
44
Which folder in Laravel includes the entire source code of the project?
A.
Events
B.
Public
C.
App
D.
Console
Correct Answer:
C. App
Q.
45
____ contains the artisan commands required by Laravel.
A.
Events
B.
Public
C.
Jobs
D.
Console
Correct Answer:
D. Console
Q.
46
What is the extension of the folder which includes all the events for the project?
A.
.php
B.
.txt
C.
.xml
D.
.laravel
Correct Answer:
A. .php
Q.
47
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
Correct Answer:
B. Handle.php
Q.
48
Which folder in Laravel contains model, controllers and views defined for the specific directories?
A.
Events
B.
Jobs
C.
Public
D.
Http
Correct Answer:
Q.
49
Which of the following folder is the root folder and helps in initializing the Laravel application?
A.
Events
B.
Public
C.
Resources
D.
Http
Correct Answer:
B. Public
Q.
50
The ____ folder includes all the composer dependencies?
A.
Events
B.
Public
C.
Vendor
D.
Resources
Correct Answer:
C. Vendor
Q.
51
____are those that offer your web application with a list of web services.
A.
Events
B.
Environment variables
C.
Routing
D.
Resources
Correct Answer:
B. Environment variables
Q.
52
In which of the following file, environment variables are declared?
A.
.environment
B.
.env_varibales
C.
.env
D.
none of the above
Correct Answer:
C. .env
Q.
53
All requests in Laravel are mapped using ____.
A.
Data binding
B.
ORM
C.
Routes
D.
All of the above
Correct Answer:
C. Routes
Q.
54
____serves as a link between a request and its response.
A.
Data binding
B.
Routes
C.
Middleware
D.
none of the above
Correct Answer:
C. Middleware
Q.
55
How many types of middleware are there in Laravel?
A.
5 types of middleware
B.
3 types of middleware
C.
4 types of middleware
D.
2 types of middleware
Correct Answer:
D. 2 types of middleware
Q.
56
Which of the following functions as a bridge between Views and Models?
A.
Objects
B.
Data binding
C.
Route
D.
Controller
Correct Answer:
D. Controller
Q.
57
The ____function may be used to connect the response to headers?
A.
Header()
B.
Router()
C.
Namespace()
D.
Response()
Correct Answer:
A. Header()
Q.
58
Which of the following separates the application logic and the presentation logic?
A.
Model
B.
Controller
C.
View
D.
none of the above
Correct Answer:
C. View
Q.
59
How many databases does Laravel supports?
A.
5 databases does
B.
6 databases does
C.
7 databases does
D.
4 databases does
Correct Answer:
D. 4 databases does
Q.
60
____ are used to store information about the user across the requests.
A.
Localization
B.
Memcached
C.
Config
D.
Sessions
Correct Answer:
D. Sessions
Q.
61
How many arguments does the Get() method takes in session?
A.
2 arguments
B.
4 arguments
C.
1 arguments
D.
5 arguments
Correct Answer:
C. 1 arguments
Q.
62
Laravel uses free feature-rich library ____ to send emails?
A.
SwiftMailer
B.
Emailer
C.
Mails
D.
none of the above
Correct Answer:
A. SwiftMailer
Q.
63
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
Correct Answer:
A. Cross site forgery attacks
Q.
64
Does Laravel generate CSRF token automatically?
A.
TRUE
B.
FALSE
C.
Can be true or false
D.
none of the above
Correct Answer:
A. TRUE
Q.
65
The process of recognising the user credentials is known as ____?
A.
Authorization
B.
Identity management
C.
Authentication
D.
none of the above
Correct Answer:
C. Authentication
Q.
66
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
Correct Answer:
B. php artisan make:auth
Q.
67
____is the controller used for authentication.?
A.
HomeController
B.
CallController
C.
DefaultController
D.
none of the above
Correct Answer:
A. HomeController
Q.
68
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
Correct Answer:
A. Authorization
Q.
69
Is authorization and authentication the same thing?
A.
TRUE
B.
FALSE
C.
Can be true or false
D.
none of the above
Correct Answer:
B. FALSE
Q.
70
Policies classes arrange authorization logic around a certain model or resource?
A.
Gates
B.
Policies
C.
command prompt
D.
none of the above
Correct Answer:
B. Policies
Q.
71
Which of the following command is used to create a policy?
A.
Create:policy
B.
Insert:Policy
C.
Make:policy
D.
Generate:policy
Correct Answer:
C. Make:policy
Q.
72
____ 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
Correct Answer:
B. Encryption
Q.
73
Which AES algorithm is used by Laravel?
A.
AES-256
B.
AES-128
C.
Both
D.
none of the above
Correct Answer:
C. Both
Q.
74
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
Correct Answer:
B. FALSE
Q.
75
Which of the following are the alternatives of Laravel?
A.
Angular.
B.
CodeIgniter.
C.
CakePHP.
D.
All of the above
Correct Answer:
D. All of the above
Q.
76
Which of the following is the oldest broadcasting organization who uses Laravel?
A.
Netflix
B.
Facebook
C.
BBC
D.
IBM
Correct Answer:
C. BBC
Q.
77
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
Correct Answer:
D. composer global require laravel/installer
Q.
78
By default laravel project runs on which PORT?
A.
PORT 3000
B.
PORT 5000
C.
PORT 4000
D.
PORT 8000
Correct Answer:
D. PORT 8000
Q.
79
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
Correct Answer:
C. php artisan serve
Q.
80
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
Correct Answer:
C. php artisan migrate:status
Q.
81
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
Correct Answer:
B. MVC(ModeI View Controller) Pattern
Q.
82
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
Correct Answer:
A. php artisan cache:clear
Q.
83
In which folder .htaccess file is located in laravel?
A.
model
B.
controller
C.
route
D.
public
Correct Answer:
D. public
Q.
84
In which directory robots.txt file is located?
A.
models
B.
public
C.
views
D.
controllers
Correct Answer:
B. public
Q.
85
Method to logout authenticated user in laravel?
A.
Auth::signout();
B.
Auth::logout();
C.
Auth::forgot();
D.
none of the above
Correct Answer:
B. Auth::logout();
Q.
86
.env file exist in directory:
A.
App
B.
Root
C.
Public
D.
storage
Correct Answer:
B. Root
Q.
87
All images and other resources are placed in:
A.
Public Folder
B.
Resource Folder
C.
Image Folder
D.
none of the above
Correct Answer:
A. Public Folder
Q.
88
What is path of controller files ?
A.
app/
B.
app/controller
C.
app/http/controllers
D.
root/controller
Correct Answer:
C. app/http/controllers
Q.
89
Which of the following directory is used to save laravel model files ?
A.
app
B.
Public
C.
resources
D.
routes
Correct Answer:
A. app
Q.
90
Which files are part of auth directory in Laravel?
A.
login
B.
reset password
C.
register
D.
All of the above
Correct Answer:
D. All of the above
Q.
91
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
Correct Answer:
A. php artisan make:model model_name
Q.
92
Which of the following methods on Collection will get all the records from it?
A.
all()
B.
some()
C.
get()
D.
enter()
Correct Answer:
A. all()
Q.
93
Does Laravel support Bootstrap?
A.
TRUE
B.
FALSE
C.
Can be true or false
D.
none of the above
Correct Answer:
A. TRUE
Q.
94
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
Correct Answer:
A. Model, View and Controller.
Q.
95
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
Correct Answer:
B. php artisan route:list
Q.
96
Full form of ORM in laravel?
A.
Object Relation Mapping
B.
Object Relation Master
C.
Object Relation Manager
D.
none of the above
Correct Answer:
A. Object Relation Mapping
Q.
97
How many types of Middleware in Laravel?
A.
2 types
B.
4 types
C.
3 types
D.
5 types
Correct Answer:
A. 2 types
Q.
98
What is it Blade?
A.
Template Engine
B.
package
C.
View file
D.
framework
Correct Answer:
A. Template Engine
Q.
99
What is laravel 10 version Release date?
A.
February 2022
B.
January 2017
C.
February 2023
D.
June 2011
Correct Answer:
C. February 2023