Laravel Fresher



Important Points to Remember.

  • No cell phones or other secondary devices in the room or test area
  • Your desk/table must be clear or any materials except your test-taking device
  • No one else can be in the room with you
  • No talking
  • No dual screens/monitors
  • No use of additional applications or internet




1 / 40

How to define a mutator?



2 / 40

Which of the following function is used to sort array in descending order?



3 / 40

Which one of the following command is used to create middleware in Laravel?



4 / 40

In PHP, variable names must start with which of the following.



5 / 40

Where do we need to set database connection in Laravel?



6 / 40

Which command is used to create migrations in Laravel?



7 / 40

What type of way does Laravel use to get data from a database ?



8 / 40

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



9 / 40

What is Laravel ?



10 / 40

The vendor directory contains



11 / 40

Composer is a tool for ______ in PHP.



12 / 40

Find the output of the code below:

< ? PHP

 ECHO CHR ( 52 ) ;

 ? > 



13 / 40

What is Node JS?



14 / 40

__ ( ) in laravel used for



15 / 40

Which one Laravel command line interface?



16 / 40

Where are all the Laravel Models stored at ?



17 / 40

What is the purpose of learning Web Programming?



18 / 40

Interpolation of variable in laravel done using



19 / 40

For what do the . env is used?



20 / 40

Which of the following function in Laravel checks that the desired table is exists in the database or not?



21 / 40

Who developed Laravel?



22 / 40

Which method returns the average value of a given key ?



23 / 40

How to check current laravel version install your system?



24 / 40

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



25 / 40

Why does Laravel use the Blade Template Engine?



26 / 40

Which of the following methods are used in Database Migrations classes?



27 / 40

Where is the routing file located in Laravel ?



28 / 40

Among the following functions, choose the one which accepts any number of parameters.



29 / 40

Which command is used to start laravel server?



30 / 40

What is the purpose of Laravel Blade Template Engine?



31 / 40

What does ORM stands for in laravel?



32 / 40

How to set a session data in Laravel?



33 / 40

How to get current action name in Laravel?



34 / 40

Among echo and print, which is faster?



35 / 40

Which class is used in Laravel to handle exceptions?



36 / 40

How to create a controller in laravel by cmd?



37 / 40

After running “ artisan down ”, The project will show the maintenance page. What would be HTTP Status return Code?



38 / 40

When was Laravel first released?



39 / 40

View files in Laravel end in________ – 



40 / 40

Bootstrap directory in Laravel is used to__________



0%