In web development, when implementing an MVC architecture, what are the…

2024

In web development, when implementing an MVC architecture, what are the challenges associated with maintaining a clean separation between the Model, View, and Controller layers ?

  1. A.

    Ensuring that the Model layer handles all user interactions.

  2. B.

    Preventing tight coupling between the Model and View layers

  3. C.

    Minimizing the role of the Controller in handling business logic

  4. D.

    Encouraging direct communication between the View and Controller layers

Attempted by 52 students.

Show answer & explanation

Correct answer: B

The correct answer is Option B. In Model-View-Controller (MVC) architecture, the primary goal is to separate concerns so that each component has a distinct responsibility. The Model manages data and business logic, the View handles presentation, and the Controller processes user input.",

Explore the full course: Tpsc Assistant Technical Officer