You are on page 1of 7

QUESTION BANK Year: III II Branch: CSE Subject: OOAD UNIT-I

Introduction to UML : Importance of modeling, principles of modeling, object oriented modeling, conceptual model of the UML, Architecture, Software Development Life Cycle. 1. (a) How is association modeled as a class? (b) Explain the antisymmetric and transitive properties of aggregation. (Nov-2008 set 1) 2. (a) How is generalization/specialization contrasted with more code reuse? State Liskovs substitution principle. (b) What are the principles of modeling? (Nov-2008 set 1) 3. (a) Explain briefly runtime polymorphism illustrating a program in Java or C++. (b) What are the principles of modeling? (c) Explain the antisymmetric and transitive properties of aggregation. (Nov-2008 set 2) (Nov-2008 set1) 4. (a) Why is it necessary to have a variety of diagrams in a model of a system? (b) Which UML diagrams give a static view and which give a dynamic view of a system? (Nov-2008 set 3) 5. (a) Consider a computer-based system that plays chess with a user. Which UML diagrams would be helpful in designing the system? Why? (b) Contrast the following: i. Actors Vs. Stakeholders ii. Usecase Vs. Algorithm. (Nov-2008 set 3) 6. Pick the ones that are related. Justify. i. Behavioral things, verbs ii. Structural things, nouns iii. Generalization, specialization, adjectives iv. Associations, verbs. (Nov-2007 set 2) 7. Explain the following briefly. i. class/object dichotomy ii. interface Vs. implementation. (Nov-2007 set 2) 8. Explain the various relationships in UML briefly. (Nov-2008 set 4) (Nov-2007 set 2) 9. (a) Explain the following with UML notation i. behavioral things ii. Grouping things iii. Annotational things (Nov-2007 set 1) 10 Define software architecture. Explain the 4+1 view model of systems architecture. (Nov-2007 set 1) 11 Define using relationship. Give UML notation. (Nov-2007 set 1) 12. Define the following: (a) use case driven (b) architecture centric (c) iterative process (d) Incremental process (e) stakeholder (f) artifact (g) usecase (h) Active class. (Nov-2007 set 3) 13. (a) Define object identity. What is oid uniqueness principle?

Name of the Faculty: V. Surendar

(b) What is model? What are the aims of modeling? 14 (a) What are the principles of modeling? (b) What is UML? Define. 15. Explain briefly about the various diagrams in UML. 16. (a) What is genericity? (b) Enumerate the principle of modeling. 17(a) Enumerate any six artifacts. (b) Briefly explain the extensibility mechanisms in UML. 18. What are the various views considered in modeling a systems architecture? Explain. 19. What is the UML approach to software development life cycle? Explain the various phases.

(Nov-2007 set 4) (Nov-2008 set 2)

(Nov-2008 set 3) (Nov-2008 set 4) (Nov-2008 set 4)

UNIT-II
Basic Structural Modeling : Classes, Relationships, common Mechanisms, and diagrams. Advanced Structural Modeling : Advanced classes, advanced relationships, Interfaces, Types and Roles, Packages 1. (a) Explain any three features used in creating abstractions. (b) Enumerate the steps to model the vocabulary of a system. (Nov-2008 set 1)(Nov-2008 set 2) (Nov-2008 set 1) (Nov-2008 set 2) 2. Write a simple JAVA applet for printing Hello, World! in a web browser. (Nov-2008 set 1)(Nov-2008 set 2) (Nov-2008 set 1) (Nov-2008 set 2) 2. Define relationship. Explain the four adornments that apply to an association. 3. (a) Enumerate the steps to model single inheritance. (b) Enumerate the steps to model using relationship. 4. (a) Define the following: i. System ii. Model iii. subsystem iv. Use case 5. (a) How are system architecture views and UML diagrams related? (b) How do you model different levels of abstraction. 6 (a) Explain the UMLs behavior diagrams. (b) Contrast is-a relationship with has-a relationship. 7. Briefly explain the following relationships with UML notation i. Using ii. Realization iii. Simple aggregation iv. Composite aggregation 8. (a) Contrast interface inheritance with class inheritance. (Nov-2008 set 3) (Nov-2008 set 3)

(Nov-2008 set 4)

(Nov-2008 set 4) (Nov-2007 set 1)

(Nov-2007 set 1)

(b) Define interface. Contrast it with abstract class. 9. How do you inter relate interfaces, types and roles? 10. Enumerate the steps to model different views of a system.

(Nov-2007 set 2) (Nov-2007 set 3) (Nov-2007 set 2) (Nov-2007 set 3) (Nov-2007 set 4) (Nov-2007 set 4) (Nov-2008 set 3) (Nov-2008 set 3)

11. (a) Enumerate the steps to model complex views. (b) Define idiom. Enumerate the steps to model structural relationships. 12. (a) Briefly explain any four standard constraints that apply to generalization relationships. (b) What is the stereotype applied to generalization relationships? Give a brief. 13. Briefly explain the four adornments that apply to all association.

14. Enumerate the steps to model webs of relationships. (Nov-2008 set 4) 15.(a) Contrast simple aggregation with composite aggregation. What is association class? (b) Illustrate with examples how realization is used to specify the relationships between the following. i. Interface Vs. Class ii. Interface component. (Nov-2008 set 4)

UNIT-III
Class & Object Diagrams : Terms, concepts, modeling techniques for Class & Object Diagrams. 1. Draw a class diagram that depicts the various relationships in UML. 2. (a) What are the common properties and uses of class diagrams? (b) What are the contents in class diagrams? 2. (a) What is the use of forward engineering and reverse engineering UML diagrams? (b) Contrast object diagram with class diagram. 3. Enumerate the steps to model logical data base schema. 4. Illustrate the following modeling issues with class diagrams. i. Modeling simple collaborations ii. Modeling logical database schema. 5. (a) What are the contents in class diagrams? (b) Enumerate the steps to model simple collaborations. 6. Enumerate the steps to model object structures. 7. Enumerate the steps to model object structures. Illustrate with an object diagram. (Nov-2008 set 1) (Nov-2008 set 1) (Nov-2008 set 2) (Nov-2008 set 2) (Nov-2008 set 3) (Nov-2008 set 3) (Nov-2008 set 4) (Nov-2008 set 4) (Nov-2007 set 1)

8. (a) Enumerate the steps to model simple collaborations. (b) What is class diagram? (Nov-2007 set 2) 9. Enumerate the steps to model logical database schema. (Nov-2007 set 2) 10. Enumerate the steps to model logical database schema. Give all example class diagrams. (Nov-2007 set 3) (Nov-2008 set 2) (Nov-2008 set 4) 11.(a) Explain the common uses of class diagrams briefly. (Nov-2007 set 3) (Nov-2008 set 2) (Nov-2008 set 4) (b) Enumerate the steps to model simple collaborations. (Nov-2007 set 4) 12. Enumerate the steps to model object structures. (Nov-2007 set 4) 13. Enumerate the steps to forward engineer a class diagram. 14. (a) Enumerate the steps to reverse engineer a class diagram. (b)What are forward engineering and reverse engineering? (Nov-2008 set 1) (Nov-2008 set 3) (Nov-2008 set 1) (Nov-2008 set 3)

UNIT-IV
Basic Behavioral Modeling-I : Interactions, Interaction diagrams. 1. What are interaction diagrams? What are their contents and common properties? Define semantic equivalence between two kinds of interaction diagrams. (Nov-2008 set 1) (Nov-2008 set 3) (Nov-2008 set 4) (Nov-2008 set 4) 2. Enumerate the steps to model flows of control by time ordering. (Nov-2008 set 1) (Nov-2008 set 3) (Nov-2008 set 4) (Nov-2008 set 4) 3. Draw a sequence diagrams that specifies the flow of control involved in initiating a simple, two-party phone call. (Nov-2008 set 2) 4. Draw a collaboration diagram that specifies the flow of control involved in registering a new student at a school. (Nov-2008 set 2) 4. Explain the sequence diagram and collaboration diagram and draw an example diagram for each one. (Nov-2007 set 1) 5. Consider the usecase withdraw amount related to ATM transaction modeling.Draw both the interaction diagrams for the usecase. Explain briefly. (Nov-2007 set 2) 6. What is sequence diagram? What is collaboration diagram? What are the features in each one? (Nov-2008 set 1) (Nov-2008 set 3) 7. What are the properties and common uses of sequence diagrams and collaboration diagrams? (Nov-2008 set 1) (Nov-2008 set 3) (Nov-2007 set 3) (Nov-2007 set 3)

8. Explain the sequence diagram and collaboration diagram and draw an example diagram for each one. (Nov-2007 set 4) 9. Draw a collaboration diagram that specifies the flow of control involved in registering a new student at a school. Explain. (Nov-2008 set 2) 10. Explain forward engineering and reverse engineering of interaction diagrams. (Nov-2008 set 2)

UNIT-V
Basic Behavioral Modeling-II : Use cases, Use case Diagrams, Activity Diagrams. 1. Draw a use case diagram to model the behavior of a cellular phone. Explain briefly. (Nov-2008 set 1) 2. What are the contexts, common properties and common uses of use case diagrams. (Nov-2008 set 1) 3. (a) Enumerate the steps to model the context of a system. (Nov-2008 set 1) (b) Define interaction. What is the significance of context in interactions? (Nov-2008 set 2) 4. What are the various adornments to ends of links denoted as standard stereotypes? Explain about objects and roles. (Nov-2008 set 2) 5. Illustrate sequence diagram and collaboration diagram for modeling flow of control by time and flow of control by organization respectively. (Nov-2008 set 3) 6. Enumerate the properties of a well-structured interaction. (Nov-2008 set 3) 7. Draw a use case diagram that depicts the context of a credit card validation system. Explain briefly. (Nov-2008 set 4) 8. (a) Draw the UML diagram to model the requirements of a system.

(b) What is the significance of use cases and collaborations.

(Nov-2008 set 4)

9. What are the common uses of use case diagrams? Consider any two modeling issues and draw relevant use case diagrams. Explain briefly. (Nov-2007 set 1) 10. (a) Enumerate the properties of a well-structural use case. (b) A retail system will interact with customers who place and track orders. Give UML diagram that uses various use cases. (Nov-2007 set 2) 11. Define use case. Enumerate the steps to model the behavior of an element. (Nov-2007 set 2) 12. (a) Sketch the use case diagram for modeling a hospital information system aimed at collecting and storing complete information pertaining to the patients treatment history and disease behavior where actors could be doctor, lab technician, patient, duty nurse, receptionist, visitors etc. (Nov-2007 set 3) (Nov-2008 set 1) (Nov-2008 set 1) 13. (a) What are the contents and common uses of activity diagrams? (b) Contrast: action state Vs. activity state. How are forking and joining used in activity diagram. Illustrate. (Nov-2007 set 3) (Nov-2008 set 1) (Nov-2008 set 1) 14. Explain the following standard stereotypes that adorn the ends of links. i. association ii. self iii. global iv. local v. parameter. 15. Briefly write about messages and sequencing with an illustrative diagram.

(Nov-2007 set 4) (Nov-2007 set 4)

16. Consider an automated soda machine that gives cool drinks. Draw a use case model of the soda machine. (Nov-2008 set 2) 17. Draw an extended use case diagram for the soda machine example depicting the extend, include and generalization relationships. (Nov-2008 set 2) 18. (a) What are the properties of well-structured use cases? (b) Enumerate the steps to model the requirements of a system. (Nov-2008 set 4) 19. Consider a retail system that interacts with customers who place and track orders. In turn, the system will ship orders and bill the customers. Model the behavior of the system will ship orders and bill the customers. Model the behavior of the system by declaring the behaviors as use cases. (Nov-2008 set 4)

UNIT-VI
Advanced Behavioral Modeling : Events and signals, state machines, processes and Threads, time and space, state chart diagrams. 1. Enumerate the steps in modeling timing constraints. Illustrate with a UML diagram and explain. (Nov-2008 set 1)(Nov-2007 set 4) 2. Consider an object diagram that models the distribution of certain objects In a realtime system. Draw the diagram and explain briefly. (Nov-2008 set 1)(Nov-2007 set 4) 3. Define event and signal. What are the four kinds of events which can be modeled by UML? Explain briefly. (Nov-2008 set 2) (Nov-2008 set 4) 4. (a) Enumerate the steps to model a family of signals. (Nov-2008 set 2) (Nov-2008 set 4) (b) Enumerate the steps to model interprocess communication (IPC). 5. (a) Draw a UML diagram which models IPC in a distributed reservation system with processes spread across four nodes. Briefly explain. (Nov-2008 set 3) (Nov-2007 set 3) 6. What are the characteristics of a well-structured active class and active object? (Nov-2008 set 3) (Nov-2007 set 3) 7. Enumerate the steps to model the following: (Nov-2007 set 1) i. family of signals

ii. exceptions (Nov-2007 set 1) 8. Explain the four kinds of events modeld by UML. (Nov-2007 set 1) 9. Contrast action with activity. Define state and event. What are the various parts of a state? Explain briefly. (Nov-2007 set 2) 10. Enumerate the steps to model the distribution of objects. Explain briefly considering a UML diagram. (Nov-2007 set 4) (Nov-2008 set 4) 11. (a) Enumerate the steps to model interprocess communication. (Nov-2007 set 4) (Nov-2008 set 4) (b) Define signal. (Nov-2007 set 2) 12. Give the sketch of a state machine for the controller in a home security system, which is responsible for monitoring various sensors around the perimeter of the house. Briefly explain. (Nov-2008 set 1) 13. Explain the following parts of a transition (Nov-2008 set 1) i. Event trigger. ii. Guard condition. 14. Illustrate modeling family of signals and modeling exceptions with UML diagrams. 15. Define event and signal. What are the four kinds of events modeled by UML? 16. What area various parts of a transition. Explain briefly. 17. Define event and signal. What are the four kinds of events modeled by UML? (Nov-2008 set 2) (Nov-2008 set 2) (Nov-2008 set 3) (Nov-2008 set 3)

UNIT-VII
Architectural Modeling : Component, Deployment, Component diagrams and Deployment diagrams. 1. Enumerate the steps to model the following. Illustrate with UML diagrams and explain briefly (a) Tables, files and documents (b) API (c) Source code. 2. (a) Enumerate the steps to model adaptable systems. Illustrate with a UML diagram. (b) What are the common uses of component diagrams? (Nov-2008 set 3) (Nov-2008 set 4) (Nov-2007 set 2) (Nov-2007 set 3) (Nov-2008 set 3) 3. Enumerate the steps to model an executable release. Illustrate with a UML diagram. (Nov-2008 set 3) (Nov-2008 set 4) (Nov-2007 set 2) (Nov-2007 set 3) (Nov-2008 set 3)

(Nov-2008 set 1) (Nov-2008 set 2) (Nov-2008 set 2)

4. (a) Define node. Contrast node with components. (b) How are nodes organized? (Nov-2007 set 1) 5. (a) Enumerate the steps to model processors and devices. (b) Draw a UML diagram to illustrate modeling processors and devices. Explain briefly. (Nov-2007 set 1) 6. What are the properties of a well-structured component diagram? (Nov-2007 set 4) 7. What are the contents, common properties and common uses of component diagrams? Explain briefly. (Nov-2007 set 4) 8. Enumerate the steps to model the following. Illustrate UML diagrams and explain briefly. (a) Modeling processes and devices. (b) Modeling distribution of components. (Nov-2008 set 1) 9. (a) Enumerate the steps to model an executable release. (b) What are the contents, common properties and common uses of component diagrams? Explain briefly. (Nov-2008 set 2) 10. Define component. What are the differences between components and classes? How are component and interface related? (Nov-2008 set 4) 11. (a) What are the properties of components? (b) What are standard stereotypes UML defines that apply to components. (Nov-2008 set 4)

UNIT-VIII
Case Study : The Unified Library application. 1. Draw activity diagram to remove reservations after a specified amount of time and explain (Nov-2008 set 1) 2. Draw and explain sequence diagram for the search facility of the objects, so that wild card characters can be used when searching for titles, authors, or borrowers. (Nov-2008 set 1) 3. (a) Draw the use case diagram for the library system and explain the relationships. (b) Draw a sequence diagram for the use cse Lend Item and explain (Nov-2008 set 2) (Nov-2008 set 3) 4. (a) Draw a collabortion diagram for the add Title use case and explain (Nov-2008 set 2) (Nov-2008 set 3) (b) Draw the use case diagram for the library system and explain the relationships. (Nov-2008 set 3) (Nov-2008 set 4) (Nov-2007 set 1) 5. What are the packages in the Library system? explain (Nov-2008 set 3) (Nov-2008 set 4) (Nov-2007 set 1) 6. (a) Draw a sequence diagram for the use cse Lend Item and explain (b) Draw a component diagram for the library system and explain 7. For coding, the specifications are fetched from which diagrams in the design model? Explain 8. (a) Write a Java program for the Loan class (b) Draw a deployment diagram for the library system (Nov-2007 set 2) 9. Draw a class diagram showing architectural overview of the library system (Nov-2007 set 2) (Nov-2008 set 4) (Nov-2008 set 4) (Nov-2008 set 1) (Nov-2008 set 1)

10. (a) Draw a sequence diagram for the Add title use case (Nov-2007 set 3) (b) For coding, the specifications are fetched from which diagrams in the design model? explain 11. Draw class diagram for use interface classes in the functions menu and explain (Nov-2007 set 3) 12.. Draw the use case diagram for the library system and explain the relationships. (Nov-2007 set 4) 13. Draw a sequence diagram for the use cse Lend Item and explain (Nov-2007 set 4) 14. Draw activity diagram to inform a person when a loan is due and explain (Nov-2008 set 2) 15. Draw activity diagram to remove reservations after a specified amount of time and explain (Nov-2008 set 2)

You might also like