📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!

  • google app store apple app store
  • ✖

      Question

      Which component in the MVC architecture communicates

      directly with the database?
      A Model Correct Answer Incorrect Answer
      B View Correct Answer Incorrect Answer
      C Controller Correct Answer Incorrect Answer
      D All components equally communicate with the database Correct Answer Incorrect Answer
      E None of these Correct Answer Incorrect Answer

      Solution

      The "Model" in the MVC architecture is responsible for managing data and business logic. This includes communication with the database to retrieve, update, or manipulate data. The "Model" encapsulates the database operations and shields the rest of the application from direct database communication.

      Practice Next
      ask-question