Laravel QUIZ

Instructions:

  • Total Number of Questions: 10
  • Score out of: 10
  • Time alloted: 30 seconds per question, total 30 minutes
  • Each question carry 1 mark
  • No negtive marking

NOTE:

Select one option as answer, for per question and then Click 'Submit and Next' button for next question

Click the 'Result' button after 10th question to get you score.

Do not refresh the Page.

1. How to create Laravel Controller, Model and Migration for posts in command line with single command?

2. Which file contains the database configuration?

3. Which of the following is the correct way to get all users by model?

4. Which command is used to get list of all routes?

5. In which file we can create routes for an API in Laravel?

6. Which is the correct route for a page using controller function?

7. generally where we can create a helper function file in laravel?

8. Which of the following subsequent validator methods returns true when form data is valid?

9. Which is not true about middleware in Laravel?

10. Select correct location of routing file in Laravel