na gn ile do M de tn eir O tc ej b O dise D gn 1 17 S C 0

advertisement
Object Oriented Modeling and Design
QU ES TI O N B A N K
10CS71
UNIT 1:
INTRODUCTION, MODELING CONCEPTS, CLASS MODELING:
1. What is object orientation? Explain briefly stages involved in OO methodology.
(10 m) Jan 16 /June 15
2. Define the following terms with example:
i. Objects ii. Classes iii. Class Diagrams iv. Values & Attributes v. Operations &
M et h o d s
(10 M) Jan 16 /June 15
3. Explain the different stages of OO methodology?
(5m) June 2014
4. Define the following with an example: (i) object (ii) class (iii) class diagram (iv)
attributes (v) operation
(1 0 m ) J u n e 2 0 1 4
5. Prepare a class model to describe undirected graph. Your model should capture only
the structure of graph. Fig. Q1 © show a typical undirected graph.
(5 m ) J u n e 1 6
6. Explain how systems are modeled from different viewpoints.
(1 0 m ) J u n e 1 4
7. Elaborate on the major themes that are well supported in object oriented technology.
(1 0 m ) J a n 2 0 1 5
8. Using class diagram prepare and object diagram for two triangles with a common side
under the following conditions.
(5 m ) J u n e 2 0 1 4
(a) A point belongs to exactly one polygon
(b) A point belongs to exactly one or more polygon
9. Prepare a class diagram for each group of classes. Add at least 10 relationships
(associations and generalizations) to each diagram. Use association names and
association end names where needed. Also use qualified associations and show
multiplicity. You do not need to show attributes or operation s. As you prepare the
diagrams, you may add classes. Be sure to explain your diagrams. Automobile,
engine, wheel, brake light, door, battery, muffler, tail pipe.
(5m) June 16
10. Wire is used in the following applications. For each application, prepare a list of wire
characteristics that are relevant and explain why each is important for the application.
(5m) June 16
Dept.ofCSE,SJBIT
Page1
Object Oriented Modeling and Design
UNIT 2:
ADVANCED CLASS MODELING, STATE MODELING:
10CS71
1. Explain the different properties of an association end?
(6m) June 16
2. Prepare a metamodel that supports only the following UML concepts: class, attribute
association, association end, multiplicity, class name and attribute name. Use onl y
these constructs to build your metamodel.
(8 m ) J a n 2 0 1 4
3. Explain the several kinds of events with an example.
(6m) June 2014
4. List and explain the various restructuring techniques used with respect to
workarounds
(10 M) Jan 15
5. What is a constraint with respect to a class modeling? Explain.
i) Constraints on generalization sets
ii) Constraints on links.
(10 M) Jan 15
6. Explain different types of constraints that can be used w. r. t generalization /
specialization with a suitable example.
(1 0 m ) J u n e 2 0 1 4
7. Draw state diagram for telephone line with activities.
(10m) June 2015
8. Consider any example problem definition design and implement proxy pattern
(2 0 m ) J a n 2 0 1 5
Dept.ofCSE,SJBIT
Page2
Object Oriented Modeling and Design
UNIT 3:
ADVANCED STATE MODELING, INTERACTION MODELING:
10CS71
1. Explain aggregation concurrency within an object with an example each.
(8 M)Jan 16
2. Consider an online airline reservation system. You want to check airline websites to
give your ideas.
(12 M) Jan 16
i. List two actors. Explain relevance of each other.
ii. One use case is to make a flight reservation. List four additional use cases at the
comparable level of abstraction. Summarize the purpose of each use case with a
sentence.
iii. Prepare a use case diagram for an airline reservation system.
3. Explain the guidelines for the following models:
i.
Sequence models
ii.
Activity models.
(8m) June 16
4. Explain the following with an example for designing advanced sequence models: (i)
active objects (ii) passive objects (iii) transient objects.
(1 2 m ) J u n e 1 6
5. Describe the two kinds of sequence models. What are the guidelines for sequence
m o d el s ?
(1 2 m ) J a n 1 6
6. How an activity diagram differs from a traditional flowchart? Give the activity
diagram for stock trade processing.
(08 M) Jan 16
7. Explain briefly the concept of class diagram with its notation.
(5m) June 2014
8. “A teacher teaches 1 to 3 courses (subjects). Each course is taught by only one
teacher. A student can take between 1 to 5 courses. A course can have 10 to 300
students”. Illustrate with a suitable diagram how above scenario can be modeled in
U ML ?
(5 m ) J a n 2 0 1 5
9. Discuss Class modeling with all the concept with example diagrams. (10 m) Jan 2015
10. Explain Structure, Dynamics and Implementation of View Handler pattern with
diagrams.
(10 m) June 2015
Dept.ofCSE,SJBIT
Page3
Object Oriented Modeling and Design
10CS71
UNIT 4:
PROCESS OVERVIEW, SYSTEM CONCEPTION, DOMAIN ANALYSIS:
1. List and explain different stages in software development process.
(10 m) Jan 16
2. List the steps to construct a domain state model. For an ATM bank system, prepare
data dictionary for all modeling elements.
(10 m) Jan 16
3. Mention the different stages of software development process.
(4 m ) J u n e 1 6
4. What criteria would you like take into consideration to select the right attributes?
Explain
(8 m ) J u n e 1 6
5. Revise the diagram in fig Q4©- i, Q4©-ii, Q4©-iii, Q4©-iv, to eliminate ternary
associations.
(8 m ) J u n e 1 6
6. What is system conception? List and explain questions that must be answered by a
good system concept.
(10 M) Jan 16
7. Describe the steps performed in constructing a domain state model.
(10 M) June 2014
8. “A guest house has 1 AubeTH101D, a form of Thermostat. Each Thermostat is
associated with 0 or more Heaters. The type of heater being used is an Electric
Heater”. Model the above scenario using various class modeling concepts of UML.
(0 6 m ) J u n e 2 0 1 5
9. What is an object diagram? Illustrate with an example.
(04 m) June 2015
10. Explain Dynamics and Implementation for Forward-Receiver Pattern with diagrams.
(10 m) Jan 2015
Dept.ofCSE,SJBIT
Page4
Object Oriented Modeling and Design
UNIT 5:
APPLICATION ANALYSIS, SYSTEM DESIGN:
10CS71
1. With a neat sequence diagram, explain process transaction scenario.
2. Explain the steps followed in constructing application class model.
3. What are the steps in designing a batch transformation?
(8M) Jan 16
(8 M )J a n 1 6
(4 M) June14
4. Analyze the different use-cases by designing a use- case diagram for the ATM
example.
(8 m ) J u n e 1 6
5. Explain all steps for constructing an application class model.
(8m) June 16
6. Write an advanced use-case model to show different t ypes of relationships for the
ATM case study.
(4 m ) J u n e 1 6
7. Describe the steps involved to allocate each concurrent subsystem to a hardware unit,
either a general purpose processor or a fractional unit.
(12m) Jan 16
8. What is an interactive interface? Explain in brief steps in designing an interactive
interface.
(08 M) June 2014
9. Write UML notation to represent the following
(5 m ) J a n 1 6
10. Write a brief note on qualified association.
(7 m ) J a n 2 0 1 5
11. Discuss Sequence diagram basic and advanced with diagram
(10 m) June 2015
12. When a software system uses servers distributed over a network it must provide a
means for communication between them. Clients should not need to know where
servers are located. To solve this which pattern is used and explain the dynamics and
implementation of the pattern.
( 20 m) Jan 2015
Dept.ofCSE,SJBIT
Page5
Object Oriented Modeling and Design
10CS71
UNIT 6:
CLASS DESIGN, IMPLEMENTATION MODELING, LEGACY SYSTEMS:
1. What are the steps to improve organization of class design? Explain.
2.
3.
4.
5.
6.
7.
8.
9.
(8 m) Jan 15
When fine tuning classes essential? How is it achieved?
(8 m) Jan 15
Compare forward engineering and reverse engineering.
(4 m) Jan 16
Explain all the steps for designing a class.
(5m) June 16
Explain the several ways to hide information while organizing a class design.
(5m) June 16
Implement each association Using one way pointers wherever possible.
Should any of the association ends be ordered? Explain your answers.
(10m) June 16
Elaborate three tasks involved in design optimization. What are the outputs from
reverse engineering? In brief, discuss reverse engineering tips.
(10 M) Jan 15
A situation often arises in which data changes in one place, but many other
components depend on this data. To solve this which pattern in used and explain the
pattern in detail.
(1 0 m ) J u n e 2 0 1 4
Draw the activity diagram for ATM system considering the validity of pin and
password and various transactions with swim lanes.
(10 m) Jan 2015
Dept.ofCSE,SJBIT
Page6
Object Oriented Modeling and Design
UNIT 7:
DESIGN PATTERNS – 1:
10CS71
1. What is pattern? Explain briefly properties of patterns for software architecture.
(8 m) Jan 16
2. Explain Forwarder-Receiver pattern briefly.
(12 m) Jan 16
3. Explain briefly the template for pattern description.
(10m) June 16
4. Two peers P1 & P2 communicate with each other. For this purpose, P1 uses a
forwarder Fprw1 and receiver Recv1; P2 handles all messages transfers with
forwarder Forw2 and a forwarder-receiver structure.
(10m) June 16
5. What is a pattern? Explain the model view controller design pattern for software
architecture with OMT class diagram.
(1 0 M ) J a n 1 5
6. Describe three categories of patterns.
(10 M) Jan 16
7. Explain concurrency and nested states in advanced state diagram with example
(10 m) June 2014
8. Explain structure, dynamics and implementation of Command processor pattern.
(3+3+4m) June 2015
9. Explain briefly the concept of composition with an example.
(6m) Jan 2015
Dept.ofCSE,SJBIT
Page7
Object Oriented Modeling and Design
UNIT 8:
DESIGN PATTERNS – 2, IDIOMS:
10CS71
1. Explain View-Handler design pattern.
(8 m) Jan 16
2. Explain singleton design pattern that provides two idioms specific to small talk and
C++.
(6 m) Jan 16
3. Write the steps to implement the counted pointer idiom.
(6 m) June 14
4. Write a short note on;
i.
Command processor design pattern.
ii.
View handler design pattern.
(10m) June 16
5. What are idioms and styles? Explain with the help of an example, a style guide idiom.
(1 0 m )
June 16
6. Along with neat diagram and necessary steps, describe a t ypical scenario of the
command processor pattern implementing an undo mechanism. (10 M) Jan 16
7. Write a note on :
i) Benefits of view handler pattern
ii) Liabilities of view handler pattern.
(10 M) Jan 15
8. What is association? Explain briefly unary, binary and n-ary associations with
suitable examples for each.
(1 0 m ) J a n 1 5
9. Explain Multiple Inheritances, constraints and Meta data in advanced class model
with example.
(20 m) June 2014
10. Consider any example problem definition design and implement facade pattern
(5 + 5 m ) J u n e 2 0 1 4
11. Write a note on :
i) Benefits of view handler pattern
ii) Liabilities of view handler pattern.
(10 m) June 2015
Dept.ofCSE,SJBIT
Page8
Download