Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Question Bank Object-Oriented Modeling And Design (17CS551)

OBJECT-ORIENTED MODELING AND DESIGN


Subject Code: 17CS551 I.A. Marks: 20
Hours/Week: 03 Exam Hours: 03
Total Hours: 40 Exam Marks: 80

QUESTION BANK

Module-1: Introduction, Modeling concepts, Class modeling


1. What is object orientation?
2. What are the four aspects of object oriented approach? Explain
3. Explain the terms: Identity, classification, inheritance, polymorphism
4. What is object oriented development?
5. What are the advantages of object oriented development?
6. Explain the stages of OO methodology?
7. What are the two parts of analysis model?
8. What are the jobs of a system designer and class
designer
9. Define class diagram, state diagram, use case
diagram
10. Differentiate sequence and activity diagram
11. Explain the three system models
12. Define abstraction and encapsulation
13. Prepare classes that you would expect each of the following system to handle a list of
a) A Program for laying out news paper
b) A Program to compute and store bowling scores
c) A telephone voice mail system with delivery options, messages forwarding, and group lists
d) A controller for video cassette recorder
e) A catalogue store order entry system
14. How data and behaviour can be combined in OO approach
15. Mention the advantages of sharing code in OO
approach
16. What does OO approach emphasis on?
17. What are the applications of OO development?
18. Briefly discuss the history of OO modelling
19. What is meant by a model?
20. Discuss the purposes of developing model
21. List the purpose of class model, state model and interaction
model.
22. How are the three models related?
23. What is meant by a class ?

1
Question Bank Object-Oriented Modeling And Design (17CS551)

24. Define object.


25. Differentiate class diagram and object diagrams with
examples .
26. What is meant by attribute and value of an attribute?
27. With example differentiate value and object
28. Differentiate internal identifiers from real world attributes
29. What is meant by a) method b) operation
30. Write the modelling notation for classes
31. Differentiate links and associations
32. How do you implement links in OO languages? Why links should not be modeled as
references?
33. Define multiplicity
34. Differentiate cardinality and multiplicity
35. Why is multiplicity significant in modeling?
36. Differentiate Bag and sequence
37. Mention two situations where association end names are
useful?
38. What is a generalization? Give examples
39. What are qualified associations?
40. Explain how the following elements are traversed in class models a) attributes b)operations c)simple
associations
41. What is meant by enumeration? Give examples
42. Differentiate multiplicity of an association and multiplicity of
attributes
43. What does scope indicate?
44. What are the possible values of visibility?
45. What are the issues to be considered when choosing
visibility?
46. What are the properties of association ends?
47. What is the need for promoting n-ary associations to
classes?
48. Differentiate aggregation and association.
49. Compare aggregation and composition.
50. What is meant by propagation .Give examples?
51. What are abstract classes? Give examples.
52. Explain the Types of multiple inheritance.
53. How do you eliminate multiple inheritance?
54. Write notes on metadata and reification.
55. Explain the three types of constraints. Mention
their uses.
56. Give some tips for devising packages.
2
Question Bank Object-Oriented Modeling And Design (17CS551)

57. What is a derived element? Specify their notation.


58. What is meant by an event?
59. Explain a signal event and its types.
60. What is a state? How is it denoted in
UML?
61. Compare event and state.
62. Explain transitions and guard conditions. How a transition is denoted in
UML?
62. Summarize the basic notations for a state diagram. Draw and explain one
shot state diagram.
63. Compare activity and do-activity.
64. What are completion transitions?
65. What is the purpose of a state diagram? Draw and explain a state diagram for Phone line.

Module-2: Use case modelling and Detailed Requirement.


1. What are the problems of flat state diagrams?
2. Explain the nested state diagram for telephone model.
3. Explain the different types of concurrencies.
4. How the concurrent activities are synchronized.
5. Draw and explain the state diagram for programmable
thermostat.
6. Explain the relationship between class and state model.
7. Define: actor. Give examples.
8. What is use case?. Explain the use case summaries of a vending
machine
9. Draw and explain the use case diagram of a vending machine.
10. What are the two types of sequence models? Explain them.
11. What are the issues to be considered in designing a sequence diagram?
12. What is an activity diagram? Explain the activity diagram for stock trade
processing.
13. How branches are indicated in activity diagram.
14. How initiation and termination points are indicated in activity
diagram.
15. Explain how the execution of activity diagrams are indicated.
16. Write short notes on include relationship.
17. Write short notes on extend relationship.
18. Explain sequence diagram with passive objects with an
example.
19. Explain sequence diagram with transient objects with an
example.
20. Differentiate active and passive objects.
3
Question Bank Object-Oriented Modeling And Design (17CS551)

21. What is the need for swim lanes in activity


diagrams?
22. Explain the use case and sequence model with
example.
23. Explain the nested states and nested state diagrams with example.

Module – 3: Process Overview, System Conception, Domain Analysis


1. Explain the stages of software development.
2. Explain the waterfall approach for software development.
3. Why iterative development is recommended for software development.
4. Prepare a problem statement for ATM network.
5. How to device a new system concept.
6. What are the requirements of a good system
concept?
7. Prepare a problem statement for spelling checker.
8. What is domain analysis concerned with.
9. Give an overview of analysis.
10. What are the steps to construct a domain class model.?
11. How to identify classes?
12. What are redundant, irrelevant and vague classes?
13. How to prepare a data dictionary.
14. What are the criteria to discard unnecessary associations?
15. How to identify attributes?
16. What are the criteria to discard unnecessary attributes?
17. How will you group classes?
18. How to organize classes using inheritance.
19. What are the steps to construct a domain state
model?
20. How to refine analysis model.

Module -4: Use case Realization


1. Which three models are used in Object oriented design. Explain them.
2. List the elements included in a method signature. Give example
3. What is meant by navigation visibility? How is it shown in UML? How is it implemented in programming
code?
4. What are some of the problems that occur when classes have low cohesion?
5. What notations are used to indicate stereotype. Show and example of stereotype class.
6. What does coupling mean? Why is too much coupling considered bad?
7. What is the difference between internet based system and network based system.
4
Question Bank Object-Oriented Modeling And Design (17CS551)

8. What is the purpose of a package diagram? What notations are used? Give examples.
9. Describe the major difference between sequence diagram and communication diagram.
10. Describe the notation used for communication diagram.
11. What is the objective of use case controller class?
12. What is three layer design? What are the most common layers found in three layer design?
13. What is meant by object responsibility? Why is it an important concept in design?
14. What is the objective of use case controller class?
15. How is dependency indicated on a package diagram? What does it mean?

Module 5: Design Patterns


1. What are design pattern? List down four essential elements of patterns.
2. What are all the criteria’s used to classify design pattern?
3. Name two classifications of design patterns based on purpose of design patter?
4. What is encapsulation?
5. Write notes on Object, methods, Requests.
6. Define Concrete and Mixin classes.
7. Define white-box and black-box reuse.
8. What are the main advantages and disadvantages of delegation?
9. What are the disadvantages of class inheritance?
10. Write notes on Creational design patterns. Give examples.
11. Write notes on Singleton.
12. What is Factory method? What are the main disadvantages of factory method?
13. What is prototype Method? What are all the situation in which prototype method is being used?
14. What are all the benefits of singleton method?
15. Write notes on Structural design patterns.
16. How composite design pattern be considered as structural design pattern?
17. How proxy pattern be considered as structural design pattern?

You might also like