← Quiz: Software Architecture Styles: all 10 questions
Quiz: Software Architecture Styles · Question 2 of 10
In MVC, where should the rule "a student with less than 33 in any subject fails" be written?
In MVC, where should the rule "a student with less than 33 in any subject fails" be written?
- A.In the model
- B.In the view
- C.In the controller
- D.In the HTML template
Answer & explanation
Correct answer: In the model
Business rules belong to the model so that every view and controller reuses them.
Can you get the rest right without peeking?
Take the timed Quiz: Software Architecture Styles quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →