Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 1 subjective questions Getting started with MVC Laravel framework

INT221 — Mvc Programming 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Explain the MVC architecture and describe the role of each of its three components.

  2. Question 2 of 20

    What is the Laravel Framework? Briefly list five of its key features.

  3. Question 3 of 20

    Describe the Request Lifecycle in a Laravel application with respect to the MVC pattern.

  4. Question 4 of 20

    What is Composer? Explain its significance in modern PHP development.

  5. Question 5 of 20

    Differentiate between composer.json and composer.lock files.

  6. Question 6 of 20

    Write the command to install the latest version of Laravel via Composer and explain the command parameters.

  7. Question 7 of 20

    What are the server requirements for installing the latest Laravel framework? (Mention at least 4 PHP extensions).

  8. Question 8 of 20

    Provide a detailed overview of the Laravel Directory Structure. Explain the purpose of any five root directories.

  9. Question 9 of 20

    Explain the purpose of the routes directory in Laravel and list the default route files found within it.

  10. Question 10 of 20

    What is the difference between the public directory and the resources directory in Laravel?

  11. Question 11 of 20

    What is Artisan in Laravel? How is it accessed?

  12. Question 12 of 20

    List five common Artisan commands and explain their usage.

  13. Question 13 of 20

    How does Blade Templating facilitate MVC development in Laravel?

  14. Question 14 of 20

    Explain the role of the .env file in a Laravel application.

  15. Question 15 of 20

    What is Eloquent ORM? How does it map databases to objects?

  16. Question 16 of 20

    Describe the steps to install Composer globally on a Windows machine.

  17. Question 17 of 20

    What is the purpose of the php artisan tinker command?

  18. Question 18 of 20

    Explain the concept of Namespace in the context of Laravel's application structure.

  19. Question 19 of 20

    Compare MVC with Flat PHP (Spaghetti Code) approaches.

  20. Question 20 of 20

    How does Laravel handle application Maintenance Mode using Artisan?

That's unit 1

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.