Question 14267 – GATE 2021 CS-Set-2
November 27, 2023Question 10735 – Web-Technologies
November 27, 2023Computer-Networks
Question 278
|
In the Model-View-Controller (MVC) architecture, the model defines the ______.
Data-access layer
|
|
Presentation layer
|
|
Business-logic layer
|
|
Interface layer
|
|
A and C
|
Question 278 Explanation:
Model : The central component of the pattern. It is the application’s dynamic data structure, independent of the user interface. It directly manages the data, logic and rules of the application.
View : Any representation of information such as a chart, diagram or table. Multiple views of the same information are possible, such as a bar chart for management and a tabular view for accountants.
Controller : Accepts input and converts it to commands for the model or view.
In addition to dividing the application into these components, the model–view–controller design defines the interactions between them.
1. The model is responsible for managing the data of the application. It receives user input from the controller.
2. The view means presentation of the model in a particular format.
3. The controller responds to the user input and performs interactions on the data model objects. The controller receives the input, optionally validates it and then passes the input to the model.
Both A and C seem to be correct, but to choose single , option C is the more accurate option.
View : Any representation of information such as a chart, diagram or table. Multiple views of the same information are possible, such as a bar chart for management and a tabular view for accountants.
Controller : Accepts input and converts it to commands for the model or view.
In addition to dividing the application into these components, the model–view–controller design defines the interactions between them.
1. The model is responsible for managing the data of the application. It receives user input from the controller.
2. The view means presentation of the model in a particular format.
3. The controller responds to the user input and performs interactions on the data model objects. The controller receives the input, optionally validates it and then passes the input to the model.
Both A and C seem to be correct, but to choose single , option C is the more accurate option.
Correct Answer: E
Question 278 Explanation:
Model : The central component of the pattern. It is the application’s dynamic data structure, independent of the user interface. It directly manages the data, logic and rules of the application.
View : Any representation of information such as a chart, diagram or table. Multiple views of the same information are possible, such as a bar chart for management and a tabular view for accountants.
Controller : Accepts input and converts it to commands for the model or view.
In addition to dividing the application into these components, the model–view–controller design defines the interactions between them.
1. The model is responsible for managing the data of the application. It receives user input from the controller.
2. The view means presentation of the model in a particular format.
3. The controller responds to the user input and performs interactions on the data model objects. The controller receives the input, optionally validates it and then passes the input to the model.
Both A and C seem to be correct, but to choose single , option C is the more accurate option.
View : Any representation of information such as a chart, diagram or table. Multiple views of the same information are possible, such as a bar chart for management and a tabular view for accountants.
Controller : Accepts input and converts it to commands for the model or view.
In addition to dividing the application into these components, the model–view–controller design defines the interactions between them.
1. The model is responsible for managing the data of the application. It receives user input from the controller.
2. The view means presentation of the model in a particular format.
3. The controller responds to the user input and performs interactions on the data model objects. The controller receives the input, optionally validates it and then passes the input to the model.
Both A and C seem to be correct, but to choose single , option C is the more accurate option.
Subscribe
Login
0 Comments