Sie sind auf Seite 1von 8

1. Is there anything wrong with the Session class?

a. Session class has too many responsibilities, which lowers its cohesion. b. Nothing is wrong. c. Session class does not support low dependency. d. Session class is not well encapsulated.

2. Identify Actors from the "NewsService" Use Case Diagram.

a. Client, Corporate Client, Manager b. Reader, Writer, Corporate Client, Manager c. Reader, Writer, Corporate Client, Manager, System Administrator, Timer d. System Administrator, Timer, Client

3. Domain Concepts are found in ...


a. Interaction Diagrams b. Use Cases c. Use Case Diagrams d. Sequence Diagrams

4. Give correct names to classes' relationships.

1 2 3 4

... ... ... ...

a. Composition b. Realization c. Aggregation d. Association e. Generalization f. Dependency 5. GUI Package depends on Database Package. Say True or False.

6. During one of requirements workshops the "NewsService" stakeholder said that she needs news items be categorized in the system (e.g. Politics, World News , Local News). The categories may be hierarchical (e.g. Local News / Career / Job). How can these requirements be satisfied?

a. Add new category attribute to NewsDatabase class. b. Add new category attribute to NewsItem class. c. Add new Category conceptual class and draw association with NewsItem class. d. Do not do anything. Add category name in the body of each news text.

7. What is wrong with the following "Post News" Use Case?

a. There are implementation details intermixed with the requirements. b. Post News is not Elementary Business Process (EBP). c. There is nothing wrong with "Post News" Use Case. d. The Actor is not defined.

8. The "NewsService" system provides services to customers who may be corporations or persons. What class names is the best choice for the Class Diagram?

a. Person, Corporation b. person, corporation c. PersonalCustomer, CorporateCustomer d. personalCustomer, corporateCustomer 9. Place the correct roles at corresponding responsibilities. ... - Identify Actors and Use Cases - Create complete and consistent set of Use Cases and requirements (but not for details of each individual Use Case) - Develop Glossary to facilitate complete/consistent requirements set ... - Detail one or more Use Cases ... - Define the "visual shape" of the user interface for one or more Actors (layout, behavior, inter-screen flow) ... - Describe Architectural View of Use Case Model

a. Architect b. User Interface Designer c. Use Case Specifier d. System Analyst

10. The "NewsService" provides registered Users notification when new NewsItems are posted. The Timer thread polls queue which contains recently posted items and sends notifications. Each registered User must receive only one notification per NewsItem. Thus, the system should store information about notification status (sent/not sent). What class will be responsible for storing the status of notification?

a. none of them b. NewsItem c. User d. Timer 11. If you want to plan project activities such as developing new functionalities or test cases, which of the following OOAD artifacts is the most useful? a. Sequence Diagrams b. Use Cases c. Domain Model d. Package Diagrams 12. Which of the following is iterative, incremental, use case driven and architecture centric? a. V-method b. UML c. Component Based Development d. RUP 13. What is true about UML stereotypes? a. A stereotype is used for extending the UML language. b. A stereotyped class must be abstract. c. The stereotype {frozen} indicates that the UML element cannot be changed. d. UML Profiles can be stereotyped for backward compatibility.

14. What can UML interfaces be used for? a. to provide concrete classes with the stereotype <<interface>> b. to program in Java and C++, but not in C# c. to define executable logic that can be reused in several classes d. to specify required services for types of objects 15. If you need to show the physical relationship between software components and the hardware in the delivered system, which diagram can you use? a. component diagram b. deployment diagram c. class diagram d. network diagram 16. What is true about a Sequence Diagram? [2 answers] a. It describes the behavior in many Use Cases. b. It describes the behavior in a single Use Case. c. It describes the behavior of a single object. d. It describes the behavior of several objects. 17. Which is true about the method doIt()?

a. The method doIt() must be implemented by Thing3 and possibly also by Thing4. b. The method doIt() must be implemented only by Thing5. c. The method doIt() must be implemented by Thing2, Thing3, Thing4 and Thing5. d. There is no need for any class to implement doIt(),because it is already implemented by Thing1.

18. What is a true statement about the following packages?

a. If package C changes, package B must be inspected for necessary changes, and if there are any, package A may have to be adapted as well. b. If package B changes, package A and package C must be inspected for necessary changes. c. Packages should be designed so that a change in one package does not have an effect to other packages. d. If package C changes, package A has to be examined (as well as B), because dependencies are transitive. 19. Which are valid events in a State diagram? [2 answers] a. if() b. when() c. close() d. after() 20. Which of these activities COULD occur simultaneously? [2 answers]

a. a44 and a66 b. a44, a33 and a22 c. a22 and a77 d. a77 and a66

Keys 1. D 2. D 3. B 4. A, C, D, E 5. False 6. C 7. A 8. C 9. D, C, B, A 10. A 11. B 12. D 13. A 14. D 15. B 16. B, D 17. A 18. A 19. B,D 20. B,C

Das könnte Ihnen auch gefallen