Correct option is A
In the
Model-View-Controller (MVC) architectural pattern:
· The
V (View) component is responsible for the
User Interface (UI).
· It is the presentation layer that displays the data (model) to the user and sends user commands to the controller.
Information Booster:
1.
Components of MVC:
·
Model: Manages the data, logic, and rules of the application.
·
View: Handles the presentation and user interface.
·
Controller: Manages the input, processes user commands, and updates the model or view.
2.
Responsibilities of the View Component:
· Displays data from the model to the user.
· Captures user input and forwards it to the controller.
· Acts as a bridge between the model (data) and the controller (logic).
3.
Examples of View Components:
· UI components like buttons, forms, tables, and charts in desktop, mobile, or web applications.
·
Technologies: HTML, CSS, JavaFX, or front-end frameworks like React.
Additional Knowledge:
·
Option (b): Security of the system is a part of application-level logic or middleware, not the view layer.
·
Option (c): Business logic and domain objects are handled by the
Model in the MVC architecture.
·
Option (d): Translating between user interface actions and domain object operations is the responsibility of the
Controller.