Question

    What is the primary responsibility of the "Controller"

    in the MVC architecture?
    A Managing data storage Correct Answer Incorrect Answer
    B Rendering user interface components Correct Answer Incorrect Answer
    C Handling user input and application flow Correct Answer Incorrect Answer
    D Processing and manipulating business logic Correct Answer Incorrect Answer
    E None of these Correct Answer Incorrect Answer

    Solution

    The "Controller" in the MVC architecture manages the user interaction and application flow. It receives user input from the "View," processes it, interacts with the "Model" to update or retrieve data, and determines how the application should respond based on the input and data.

    Practice Next