volume_mute
MVC — Advantages and Disadvantages
publish date: 2026/06/10 21:07:21.621594 UTC
volume_mute
Which of the following correctly states an advantage AND a disadvantage of the MVC pattern?
Correct Answer
Advantage: allows data to change independently of its representation, and supports presenting the same data in different ways; Disadvantage: can involve additional code and complexity when the data model and interactions are simple
Explanation
MVC's key advantage is separation of concerns: data (Model) can change independently of its presentation (View) and vice versa. It also supports multiple representations of the same data with changes in one representation shown in all. Its disadvantage is additional code complexity, especially when the data model and interactions are simple enough that such separation is not needed.
Reference
Software Engineering, Ian Sommerville, 10th edition
