Sail E0 Webinar

MCQs

Total Questions : 21 | Page 2 of 3 pages
Question 11. Which of the following function in Laravel checks that the desired table is exists in the database or not?
  1.    hasTable()
  2.    hasTab()
  3.    hashTable()
  4.    None of the above
 Discuss Question
Answer: Option A. -> hasTable()
Question 12. Where is the routing file located in Laravel ?
  1.    app/Http/
  2.    routes/
  3.    urls/
  4.    vendors/
 Discuss Question
Answer: Option B. -> routes/
Question 13. Where do we need to set database connection in Laravel?
  1.    config.php
  2.    setting.php
  3.    In seed files
  4.    .ENV file
 Discuss Question
Answer: Option D. -> .ENV file
Question 14. Interpolation of variable in laravel done using
  1.    compact
  2.    {{}}
  3.    helpers
  4.    All of above
 Discuss Question
Answer: Option B. -> {{}}
Question 15. View files in Laravel end in
  1.    .blade.php
  2.    .php
  3.    .vue
  4.    .blade
 Discuss Question
Answer: Option A. -> .blade.php
Question 16. Bootstrap directory in Laravel is used to
  1.    Initialize a Laraval application
  2.    Call laravel library functions
  3.    Load the configuration files
  4.    Load laravel classes and models
 Discuss Question
Answer: Option A. -> Initialize a Laraval application
Question 17. Which command is used to start laravel server?
  1.    php artisan serve
  2.    php artisan project_name
  3.    php artisan start php
  4.    artisan start-server
 Discuss Question
Answer: Option A. -> php artisan serve
Question 18. Does Laravel Support Caching?
  1.    Yes
  2.    No
 Discuss Question
Answer: Option A. -> Yes
Question 19. Which one Laravel command line interface?
  1.    composer
  2.    php artisan
  3.    git
  4.    CLI
 Discuss Question
Answer: Option B. -> php artisan
Question 20. Who developed Laravel?
  1.    Taylor Otwell
  2.    Rasmus Lerdorf
  3.    James Gosling
  4.    Guido van Rossum
 Discuss Question
Answer: Option A. -> Taylor Otwell

Latest Videos

Latest Test Papers