8. Which OOAD artifact is the MOST useful in situations where asynchronous events occur? |
|
This question has 1 correct answer. |
11. Which one of the following is the MOST desirable type of cohesion? |
|
This question has 1 correct answer. |
17. Subtyping can be implemented by : |
|
This question has 1 correct answer. |
21. Which of the following are valuable for concurrent processes? |
|
This question has 3 correct answers. |
28. Refer to the diagram to answer the question. Given that having multiple spouses at the same time is prohibited, but it is allowed to have many spouses over time, which of the following are valid models? |
|
This question has 2 correct answers. |
View Attachment - Marital Status |
29. Given that only full-time employees get vacations, we would like to have a means for determining which objects participate, and which do not. Which of the following models can be used to solve this problem? Assume that there are only minor differences between the FullTime and PartTime employees. |
|
This question has 1 correct answer. |
View Attachment - Employee Vacation |
View Attachment - Model A |
View Attachment - Model B |
30. Which model will allow the Person to have more than one employment with the same company? |
|
This question has 1 correct answer. |
View Attachment - Model P1 |
View Attachment - Model P2 |
View Attachment - Model P3 |
31. Refer to the diagram to answer the question. From the specification perspective, this qualified association would imply an interface along the lines of: |
|
This question has 1 correct answer. |
View Attachment - Order |
32. Refer to the diagram to answer the question. Which of the following are ILLEGAL combinations of subtypes in the diagram? |
|
This question has 2 correct answers. |
View Attachment - Classification |
33. Refer to the diagram to answer the question. Which pattern solves the problem shown in the figure? |
|
This question has 1 correct answer. |
View Attachment - Classification |
36. What methods MUST be implemented by the CreditProcessor class in the payment sequence diagram? |
|
This question has 1 correct answer. |
View Attachment - MakePayment |
37. Refer to the diagram to answer the question. What is the maximum concurrent threads that is possible in the activity diagram? |
|
This question has 1 correct answer. |
View Attachment - BoxOfficeProcessOrder |
38. Refer to the diagram to answer the question. What is the minimum number of threads that can be running during the execution of the activity diagram? |
|
This question has 1 correct answer. |
View Attachment - BoxOfficeReceiveOrder |
39. Refer to the diagram to answer the question. The * in the search diagram represents: |
|
This question has 1 correct answer. |
View Attachment - Search |
41. A good OO development is : |
|
This question has 1 correct answer. |
44. Refer to the diagram to answer the question. Which design solves the tangled inheritance problem shown in the diagram? |
|
This question has 1 correct answer. |
View Attachment - Tangled Inheritance |
View Attachment - Design A |
View Attachment - Design B |
View Attachment - Design C |
View Attachment - Design D |
45. Consider the mirror hierarchy shown in the diagram. In this case, the type of equipment contained in a laboratory reflects the type of laboratory. According to the Liskov's Substitution Principle, you should be able to substitute instances of a subclass for its superclass, which indicates that you should be able to use nuclear equipment wherever you can use equipment. According to the figure, you can use equipment in a lab, therefore, you can also use nuclear equipment in a lab. Which design imposes the constraint that nuclear equipment can only be used in a nuclear lab? |
|
This question has 1 correct answer. |
View Attachment - Nuclear |
View Attachment - Design N1 |
View Attachment - Design N2 |
View Attachment - Design N3 |
View Attachment - Design N4 |