Exam Examples Answers
Exam Examples Answers
Exam Examples Answers
Question 1 Which of the following statements best describes both verification and validation?
Question 2 Looking at the class diagram shown in Figure 1, which of the following describes all the
IS-A relationships.
a) B is an A, C is an A, E is a C, F is a D only
b) B is an A, C is an A, E is a C, E is an A, F is a D only
c) C is a B, D is a C, F is an E only
d) B is a C, C is a D, E is an F only
e) A is an B, A is an C, C is a A, A is an E, D is a F only
Question 4 Look the Figure 2, which of the following would be the best match (note not all use cases
are shown):
a) UseCase 1 Check item is in stock, UseCase2 Item out of stock inform customer, UseCase 3
Payment failed
b) UseCase1 Take payment, UseCase2 Payment failed, UseCase 3 Item out of stock
c) UseCase1 Take payment, UseCase2 Invalid product code, UseCase 3 Item out of stock
d) UseCase 1 Check item is in stock, UseCase2 Item out of stock inform customer,
UseCase 3 Take payment
e) UseCase 1 Take payment, UseCase2 Item out of stock inform customer, UseCase 3 Payment
failed
Question 6. When the Petri Net shown in Figure 3 fires, which transitions will fire, and after firing
what will be the state of the net?
d) T1 or T2 will fire we cannot determine which, if T1 fires the state will be (0,0,0,2), if
T2 fires the state will be (0.1.0.0)
1.1.0.0)
e) T1, T2 and T3 will fire we cannot determine which the state of the net will be
random
Question 7 Which of the following statements about cohesion and couple is true
X1 Code is hidden
a) X1,X2,X3 and X4
b) X2,X3 and X4
c) All of the above
d) X1 and X5
e) X2, X2,X4 and X5