If you would like to look up the answers for the following quiz questions, you can check our discussion forum. If you don't find an answer in the forum, you may create a post asking for an answer to a particular question.
Where in the application code should the constraints be checked? In the ...
☐ controller code
☐ model classes
☐ user interface code
☐ underlying DBMS (if it supports constraint validation)
Where in the application code should the constraints be defined? In the ...
☐ controller code
☐ model classes
☐ user interface HTML5 code
☐ user interface JavaScript code
How many constraints are specified by the class model shown in the diagram?
Enter a number: _____
Which of the following constraints are specified by the class model?
☐ A range constraint for the
property name
.
☐ A uniqueness constraint for
the property name
.
☐ A referential integrity
constraint for the property name
.
☐ A uniqueness constraint for
the property age
.
☐ A mandatory value constraint for the property
name
.
☐ A mandatory value constraint
for the property age
.