In a Web application designed with the MVC pattern, the Web page that contains an HTML form to accept user input is considered a part of the system's ________. interfaces views controllers models
Q1) In a Web application designed with the MVC pattern, the Web page that contains an HTML form to accept user input is considered a part of the system's ________.
- interfaces
- views
- controllers
- models
Q2) When a user is interacting with a Web application designed with the MVC pattern, all incoming requests from the user are handled by the system's dispatcher. The dispatcher then routes the requests to the system's ________.
database server- model
- controller
- view
Q3)
Which of the following is NOT a benefit of designing a system with MVC?
- Simplicity: MVC pattern makes it easy to design and create a system.
- Extensibility: a
system designed with MVC is easy to extend. - Collaboration: collaboration is easy among developers with different skillsets when designing a system with MVC.
- Maintainability: a system designed with MVC is easy to maintain.
Q4) According to the MVC design philosophy we studied in class, the web application's script files that manipulate data records stored in a database are considered a part of the system's ______________.
- data layers
- views
- models
- controllers
Q5) Which one of the following statements is NOT valid regarding MVC (model, view, controller) design pattern?
- MVC is not a code library.
- Like object-oriented
programming or procedural programming, MVC is another programming approach. - MVC is a general reusable solution to a commonly occurring problem in software design.
- MVC supports multiple controllers.
Q6)
What are the main jobs of a dispatcher/router in a typically designed MVC application? Select all correct answers. Please note incorrect answers carry negative marks.
- Group of answer choices
- Retrieve data from a database.
- Create a controller object.
- Pass data to a view to display.
- Call a method with a controller object.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps