volume_mute

MVC — Component Responsibilities

publish date2026/06/10 21:07:21.320074 UTC

volume_mute

The Model-View-Controller (MVC) pattern structures a system into three logical components. Match each component to its responsibility.

Controller Maps user actions to model updates Selects view View Renders model Requests model updates Sends user events to controller Model Encapsulates application state Notifies view of state changes View selection User events State change State query Change notification

To complete the line match

  1. Click on an item in the first group
  2. Click on the match in the second group

To delete a match, double click on a line

MVC Component

Model
View
Controller

Responsibility

Manages system data and associated operations; notifies View of state changes
Defines and manages how data is presented to the user; sends user events to the Controller
Manages user interaction (key presses, clicks); maps user actions to model updates and selects the View

Correct Answer

(1) Model,Manages system data and associated operations; notifies View of state changes
(2) View,Defines and manages how data is presented to the user; sends user events to the Controller
(3) Controller,Manages user interaction (key presses, clicks); maps user actions to model updates and selects the View

Explanation

In MVC: the Model encapsulates application data and state; the View defines how data is rendered and manages the display; the Controller handles user input events and coordinates between the Model and View. This separation allows each component to change independently.

Reference

Software Engineering, Ian Sommerville, 10th edition


Quizzes you can take where this question appears