A web app must be accessible from computers and mobile devices. It must maintain the same data structure on both types of devices. What is the advantage of using the MVC design pattern for this app?
A.
to asynchronously update the graphical interface
B.
to define different algorithms for data manipulation
C.
to separate the logic of the graphic interface of the different devices
D.
to have only one instance of the objects that contain the data
C. to separate the logic of the graphic interface of the different devices
The MVC (Model-View-Controller) design pattern is a software architecture pattern commonly used in web development to separate an application into three interconnected components: Model, View, and Controller.
In this case, using the MVC design pattern can help in separating the logic of the graphic interface of the different devices, as the View component can be customized for the different devices while maintaining the same underlying data structure in the Model component. This can make it easier to maintain and update the application, as changes to the interface of one device will not affect the data or interface of the other devices.
"MVC Framework is a good idea for a number of reasons, including: Simultaneous development – Because MVC decouples the various components of an application, developers are able to work in parallel on different components without affecting or blocking one another."
Source: https://www.visual-paradigm.com/guide/uml-unified-modeling-language/what-is-model-view-control-mvc/
yes, but to asynchronously update in this case does not refer to developing it in parallel.
in the same sentence you quoted it talks about how various components of the application are decoupled from each other which for me makes it D:
D. to have only one instance of the objects that contain the data: the questions says "It must maintain the same data structure on both types of devices", using MVD, you have one instance of the data that is rendered as needed on different devices
upvoted 4 times
...
...
This section is not available anymore. Please use the main Exam Page.200-901 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Paola0699
Highly Voted 1 year, 7 months agoBorkedQuestions_1
Most Recent 10 months, 1 week agom4xr1s
1 year, 7 months agoWoonesuf
1 year, 8 months agoevilgoat
1 year, 8 months ago