Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
3. List out the OO Methodology stages. (UNIV QUES APR/MAY 2011) (OR) Mention the
various stages of activity performed in object oriented methodology. (UNIV QUES
MAY/JUN 2012)
1) Analysis
2) Design
3) Prototyping and Testing
4. List the relationships used in use cases. (UNIV QUES MAY/JUN 2012)
The relations used in use cases are
1. Association
2. Cardinality
3. Aggregation
4. Composition (a-part-of)
5. What are the two orthogonal views of software? (UNIV QUES MAY/JUN 2012)
The two orthogonal views of software are
1. Object-oriented system development
2. Traditional development
7. What is UML? (UNIV QUES MAY/JUN 2012) (OR) Write the short notes on UML.
(UNIV QUES APR/MAY 2011)
The unified modeling language (UML) is a set of notations and conventions used to
describe and model an application. Unified modeling language is a visual language used for
specifying, constructing and documenting a system. It is a standard diagrammatic notation
used for drawing, presenting pictures related to software engineering.
8. Give the characteristics of object oriented system. (UNIV QUES NOV/DEC 2009)
The characteristics of object-oriented system
1) Higher level of abstraction
2) Seamless transition among different phases of software development
3) Encouragement of good programming techniques
4) Promotion of reusability.
9. What is an object? Give an example. (UNIV QUES NOV/DEC 2009), (UNIV QUES
NOV/DEC 2008)
Object is a real- world entity, identifiably separate from its surroundings, has a well
defined set of attributes and a well-defined set of procedures or methods.
Properties (or attributes) describe the state (data) of an object. Methods (procedures)
define its behavior. Object means a combination of data and logic that represents some real-
world entity.
(E.g.) Car is an object
Color, manufacturer, cost, owner etc are attributes.
Drive it, lock it, tow it, carry passengers in it are all methods.
10. What do you mean by cardinality in association relationship? (UNIV QUES MAY/JUN
2007)
Cardinality is an important issue in association, which specifies how many instances of
one class may relate to a single instance of an associated class.
11. Distinguish between static and dynamic binding. (UNIV QUES MAY/JUN 2007)
Static binding
The process of determining which functions to invoke at compile time is termed as static
binding. Static binding optimizes the calls.
Dynamic binding
The process of determining which functions to invoke at runtime are called as dynamic
binding. They occur when polymorphic calls are issued. Dynamic binding allows some
method invocation decisions to be deferred until the information is known.
12. Justify the reasons for object orientation. (UNIV QUES NOV/DEC 2006)
Object oriented methods enable us to create set of objects that work together
synergistically to produce software that better model their problem domains than similar
systems produced by traditional techniques.
The OO systems are easier to adapt to changing requirements, easier to maintain, more
robust and promote greater design and code reuse.
13. What is the relationship between objects and messages? (UNIV QUES NOV/DEC 2006)
Object:
Object – combination of data and logic that represents some real world entity.
Each object is responsible for itself. Objects perform operation in respond to message.
Message:
Messages essentially are nonspecific function calls.
Message is sent to object- instruction say what to do.
15. Describe multiple inheritance with a suitable example. (UNIV QUES NOV/DEC 2007)
Multiple Inheritance.
Some object-oriented systems permit a class to inherit its state (attributes) and behaviors
form more than one super class.
16. Differentiate between messages and function/subroutine calls. (UNIV QUES APR/MAY
2008)
S.No Message Function/Subroutine calls
Messages are non specific function calls Function is an implementation method-
1.
– instruction say what to do says how to do something
Message is general, can be used in Function is more specific, can be used
2.
different context for doing a specific task.
17. “Object Orientation supports abstraction at a higher level when compared to the top
down approach”. Do you agree? Justify your answer. (UNIV QUES APR/MAY 2008)
The object-oriented approach supports abstraction at the object level. Since objects
encapsulate both data(attribute) and functions(methods), they work at a higher level of
abstraction. The development can proceed at the object level. This makes designing, coding,
testing, and maintaining the system much simpler. The top-down approach supports
abstraction at the function level.
16 MARKS
1. Explain various phases of OOSD development life cycle in detail. (UNIV QUES
MAY/JUN 2012) (OR)
Explain in detail the processes in systems development using object oriented approach.
Illustrate with an example. (UNIV QUES APR/MAY 2008) (OR)
Give the brief discussion on object oriented system life cycle. (UNIV QUES NOV/DEC
2008)
Page No: 39 – 49
4. List the reasons to explain why objects are so powerful in programming. (UNIV QUES
NOV/DEC 2008)
Page No: 5 – 6
5. List the characteristic features of object oriented approach. (UNIV QUES NOV/DEC
2008)
Page No: 20 – 27
6. Justify: Objects and Classes are reusable. (UNIV QUES MAY/JUN 2012)
Page No: 15 – 18
7. Explain in detail the Inheritance and its advantages with an example. (UNIV QUES
MAY/JUN 2012)
Page No: 21 – 25
TEXT BOOK:
1. Ali Bahrami, “Object Oriented Systems Development”, Tata McGraw – Hill, 1999.
M.KUMARASAMY COLLEGE OF ENGINEERING
THALAVAPALAYAM, KARUR- 639 113
DEPARTMENT OF CSE
SUBJECT: OBJECT ORIENTED ANALYSIS AND DESIGN
UNIT II –OBJECT ORIENTED METHODOLOGIES
2 MARKS
1. Write about the four phases in OMT?
OMT consists of four phases. They are
1) Analysis-The results are objects and dynamic & functional models.
2) System design-The results are a structure of the basic architecture of the system along
with high-level strategy decisions.
3) Object Design-Produces a design document, consisting of detailed objects static,
dynamic and functional models
4) Implementation-This activity produces reusable, extendible, robust code.
3. What is a use case? List the steps in ATM transaction use case? (UNIV QUES
MAY/JUN 2012)
Use case:
Use case is a special flow of events through the system. Use cases are scenarios for
understanding system requirements. It provides us with comprehensive documentation of the
system under study.
4. What do you mean by use case and actors? (UNIV QUES APR/MAY 2011)
Use case:
Use case is a special flow of events through the system. Use cases are scenarios for
understanding system requirements. It provides us with comprehensive documentation of the
system under study.
Actor:
An actor is a user playing a role with respect to the system.
6. List out the symbols associated with OMT data flow diagrams? (UNIV QUES
NOV/DEC 2006)
Data flow diagrams use four primary symbols:
1) The process is any function being performed. (verify password in the ATM)
2) The data flow shows the direction of data element movement. (PIN code)
3) The data store is a location where data are stored. (Account in ATM)
4) An external entity is a source or destination of a data element. (The ATM card
reader)
11. Define Aggregation and Composition. (UNIV QUES APR/MAY 2012) & UNIV QUES
APR/MAY 2011)
Aggregation:
Aggregation is a vague kind of association in the UML that loosely suggests whole-part
relationships (as do many ordinary associations). It has no meaningful distinct semantics in
the UML versus a plain association, but the term is defined in the UML.
Composition (a-part-of relation):
Composition, also known as composite aggregation, is a strong kind of whole-part
aggregation and is useful to show in some models.
A composition relationship implies that
1) An instance of the part belongs to only one composite instance at a time,
2) The part must always belong to a composite and
3) The composite is responsible for the creation and deletion of its parts either by itself
creating/deleting the parts, or by collaborating with other objects.
14. What do you mean by sequence diagram? Mention its use. (UNIV QUES NOV/DEC
2011)
UML sequence diagram sequence diagrams are an easy and intuitive way of describing
the behavior of a system by viewing the interaction between the system and its environment.
A sequence diagram shows an interaction arranged in a time sequences.
15. What do you mean by sequence number in UML? Where and for what it is
used? (UNIV QUES NOV/DEC 2011)
Sequence number in UML is used to number a context and interaction, which is a set of
messages exchanged among the objects. In collaboration diagram, the sequence number is
used and is indicated by numbering the messages.
16. Give a note on patterns and its necessity. (UNIV QUES NOV/DEC 2009)
Design pattern identifies the key aspects of a common design structure that makes it
useful for creating a reusable object-oriented design. Furthermore, it identifies the
participating classes and instances, their roles and collaborations, and the distribution of
responsibilities. It describes when it applies, whether it can be applied in view of other design
constraints and the consequences and trade-offs of its use.
Necessity:
A pattern is instructive information that captures the essential structure and insight of a
successful family of proven solutions to a recurring problem that arises within a certain
context and system of forces.
17. Mention the models in Object Modeling Technique in Rambaugh methodology and its
role for describing the system. (UNIV QUES NOV/DEC 2009)
The three different parts of models in OMT are
1) Object Model- describes the structure of objects in a system
2) OMT Dynamic Model – provides a detailed and comprehensive dynamic model, say
about states, transitions, events and actions.
3) OMT Functional Model.- shows the flow of data between different process in
business.
18. What is the use of UML in object oriented approach? (UNIV QUES NOV/DEC 2008)
The use of UML in object oriented approach were as follows:
1) Provide users a ready-to-use, expressive visual modeling language so they can develop
and exchange meaningful models
2) Provide extensibility and specialization mechanisms to extend the core concepts.
3) Be independent of particular programming languages and development processes.
4) Provide a formal basis for understanding the modeling language.
5) Encourage the growth of the OO tools market.
6) Support higher-level development concepts.
Integrate best practices and methodologies.
19. What are the models described in OMT approach? (UNIV QUES MAY/JUN 2008)
(OR) List three different parts of models in Object Modeling Techniques (OMT).
(UNIV QUES MAY/JUN 2007)
The three different parts of models in OMT are
4) Object Model
5) OMT Dynamic Model
6) OMT Functional Model.
20. List various steps in micro development process of Booch Methodology. (UNIV QUES
MAY/JUN 2007)
The micro process is a description of the day-to-day activities by a single or small group
of software developers. It consists of the following steps.
1) Identify classes and objects.
2) Identify class and object semantics.
3) Identify class and object relationships.
4) Identify class and object interface and implementation.
21. Describe the difference between patterns and frameworks. (UNIV QUES NOV/DEC
2007)
The difference between patterns and framework are
A framework is executable software whereas design patterns represent knowledge and
experience about the software.
1) Design patterns are more abstract than frameworks.
2) Design patterns are smaller architectural elements than frameworks.
3) Design patterns are less specialized than frameworks.
22. What is a qualifier? How is it used in association? (UNIV QUES NOV/DEC 2007)
A qualifier as an associations attribute. For example, a person object may be associated to
a Bank object. An attribute of this association is the account#.
23. What is an anti-pattern? Should a pattern or anti-pattern be analyzed?
An anti-pattern represents a worst practice or lesson learned, while a pattern represents a
best practice. Anti-patterns come in two varieties:
1) Those describing a bad solution to a problem that resulted in a bad situation.
2) Those describing how to get out of a bad situation.
Justification: Patterns shows successful system where as Anti-pattern should be analyzed
because this activity helps to understand bad solution in unsuccessful system.
A UML activity diagram shows sequential and parallel activities in a process. They are
useful for modeling business processes, workflows, data flows, and complex algorithms.
A UML activity diagram offers rich notation to show a sequence of activities, including
parallel activities. It may be applied to any perspective or purpose, but is popular for
visualizing business workflows and processes, and use cases.
16 MARKS
1. What are the different Object-oriented Methodologies? Explain any two methodologies
in detail. (UNIV QUES MAY/JUN 2012)
Page No: 63 – 71
2. Define UML and what are the different UML diagrams? Explain in detail the dynamic
UML diagrams with example? (UNIV QUES MAY/JUN 2012)
Page No: 89 , 93 and 103 – 112
3. Explain about activity diagram with an example. (UNIV QUES APR/MAY 2011)
(OR)
When to use Activity diagrams. Describe the situation with an example. (UNIV QUES
MAY/JUN 2012)
Page No: 109 -111
4. Draw the use case diagram, interaction diagram and activity diagram for library
management system. (UNIV QUES APR/ MAY 2011)
Page No: 101, 109
5. Explain the various phases of Unified approach. (UNIV QUES MAY/JUN 2012)
(OR)
What do you mean by Unified Process in OOAD? Explain the phases with suitable
diagrams. (UNIV QUES NOV/DEC 2011)
Page No: 78 – 84
6. Prepare a state diagram for telephone answering machine. (UNIV QUES MAY/JUN
2012)
Page No: 106 - 109
7. Prepare an activity diagram for computing a restaurant bill. There should be charge for
each delivered item. The total amount should be subject to tax and service charge of
10%. (UNIV QUES MAY/JUN 2012)
Page No: 109 -111
8. Prepare use case diagram for online flight reservation/cancellation. (UNIV QUES
MAY/JUN 2012)
Page No: 101
9. What are the various diagrams that are used in analysis and design steps of Booch
methodology? Explain with your own example. (UNIV QUES NOV/DEC 2009)
Page No: 65 – 68
10. Explain the following(UNIV QUES NOV/DEC 2009)
i. Object Modeling Technique.
ii. Compare Aggregation and Composition with a suitable example.
Page No: 99
11. By considering the Library Management system, perform the Object Oriented System
Development and give the use case model for the same (use include, extend and
generalization).
Page No: 99 – 103
TEXT BOOK:
1. Ali Bahrami, “Object Oriented Systems Development”, Tata McGraw – Hill, 1999.
M.KUMARASAMY COLLEGE OF ENGINEERING
THALAVAPALAYAM, KARUR- 639 113
DEPARTMENT OF CSE
SUBJECT: OBJECT ORIENTED ANALYSIS AND DESIGN
UNIT III –OBJECT ORIENTED ANALYSIS
2 MARKS
3. List out the analysis sub stages? (UNIV QUES APR/MAY 2011)
The various sub stages of analysis process are
i. Identify the actors
ii. Develop a simple business process model using UML activity diagram
iii. Develop the use case
iv. Prepare interaction diagram
v. Classification
vi. Iterate and refine.
4. What are the various types of association? (UNIV QUES MAY/JUN 2012)
The various types of association are
1) Binary association
2) Ternary Association
3) N-ary association
5. What are actors? How do they differ from users? (UNIV QUES MAY/JUN 2012)
Actor:
An actor is a user playing a role with respect to the system. An actor should represent a
single user.
A user may play more than one role. They can play the role of an actor.
6. Draw the simple diagram for N-ary Association? (UNIV QUES APR/MAY 2011)
7. List out the steps for finding use cases? (UNIV QUES NOV/DEC 2009)
The steps for finding use cases are
For each actor, find the tasks and functions that the actor should be able to perform
or that the system needs the actor to perform. The use case should represent a course
of events that leads to a clear goal.
Name the use cases
Describe the use cases briefly by applying terms with which the user is familiar
9. State how analysis differs from design. (UNIV QUES NOV/DEC 2008)
The analysis phase of software development is on “what need to be done”. Analysis
serves as a framework for design.
Analysis emphasizes an investigation of problem rather than how a solution is defined
where as design emphasizes conceptual solution of problem rather than implementation.
10. Write two major properties of aggregation (a-part-of) relationship. (UNIV QUES
MAY/JUN 2007)
A-part-of relationship, is a form of aggregation, represents the situation
where a class consists of several component classes. A class that is
composed of other classes does not behave like its parts; actually, it
behaves very differently. Two major properties of a-part-of relationship
are:
Transitivity:
If A is part of B and B is part of C, then A is part of C. For example; a
carburetor is part of an engine and an engine is part of a car; therefore, a
carburetor is part of car.
Anti-symmetry:
If A is part of B, then B is not part of A. For example; an engine is part
of part of a car, but a car is not part of an engine.
16 MARKS
1. Describe OO analysis and compare with conventional one. (UNIV QUES MAY/JUN
2012)
Page No: 129 – 138
4. List out the processes associated with object oriented analysis. (UNIV QUES
NOV/DEC 2007)
Page No: 126 – 129
5. What are the guidelines used for finding use cases? (UNIV QUES NOV/DEC 2007)
Page No: 136
6. List out the approaches used for identifying classes. (UNIV QUES NOV/DEC 2007)
Page No: 169 - 171
7. What are the guidelines used for identifying association and super-sub relationships
among classes? Explain. (UNIV QUES NOV/DEC 2007)
Page No: 177 - 183
8. Explain the various types of object relationships and class relationships. Illustrate by
giving suitable examples. (UNIV QUES APR/MAY 2008)
Page No: 182 - 188
TEXT BOOK:
1. Ali Bahrami, “Object Oriented Systems Development”, Tata McGraw – Hill, 1999.
2. Write down any two distinctive characteristics of multi database system. (UNIV QUES
MAY/JUN 2012)
The two distinctive characteristics of multi database system are
1) Automatic generation of a unified global database schema from local databases, in
addition to schema capturing and mapping for local databases
2) Integration of heterogeneous database systems with multiple databases.
7. Define axiom along with its types. (UNIV QUES NOV/DEC 2009)
An axiom is a fundamental truth that always is observed to be valid and for which there is
no counterexample or exception. The axioms cannot be proven or derived but they cannot be
invalidated by counterexamples or exceptions.
There are two design axioms applied to object-oriented design. Axiom 1 deals with
relationships between system components and Axiom 2 deals with the complexity of design.
Axiom 1: The independence axiom. Maintain the independence of components.
Axiom 2: The information axiom. Minimize the information content of the design.
8. Define corollary? Give the corollaries derived from design axioms. (or) List the various
design rules?
A corollary is a proposition that follows from an axiom or another proposition that has
been proven. A corollary is shown to be valid if its referent axioms and deductive steps are
valid. The design rules or corollaries derived from design axioms are stated below.
Corollary 1: Uncoupled design with less information content.
Corollary 2: Single purpose.
Corollary 3: Large number of simple classes.
Corollary 4: Strong mapping.
Corollary 5: Standardization.
Corollary 6: Design with inheritance.
25. What is meant by database model? Give the different database models.
A database model is a collection of logical constructs used to represent the data structure and
data relationships within the database. The different database models are,
1) Hierarchical model
2) Network model
3) Relational model
4)
26. What is concurrency policy?
A concurrency control policy dictates what happens when conflicts arise between
transactions that attempt access to the same object and how these conflicts are to be resolved.
There are two policies,
1) Conservative or pessimistic policy
Allows a user to lock all objects or records when they are accessed and to release the
locks only after a transaction commits.
2) Optimistic policy
Two conflicting transactions are compared in their entirety and then their serial ordering
is determined.
16 MARKS
1. What are OOD axioms and their significances? Explain in detail. (UNIV QUES
MAY/JUN 2012)
Page No: 199 - 203
2. What is the purpose of an access layer? Explain in detail the process of creation of
access layer classes with an example? (UNIV QUES MAY/JUN 2012)
Page No: 237 , 264 - 269
3. Explain the implementing functionality of Database. (UNIV QUES APR/ MAY 2011)
Page No: 239 - 243
5. Discuss in detail how object interoperability is achieved. (UNIV QUES NOV/DEC 2008)
Page No: 245 - 250
7. Explain in detail the axioms and corollaries in object oriented design. (UNIV QUES
APR/ MAY 2008)
Page No: 199 - 208
TEXT BOOK:
1. Ali Bahrami, “Object Oriented Systems Development”, Tata McGraw – Hill, 1999.
M.KUMARASAMY COLLEGE OF ENGINEERING
THALAVAPALAYAM, KARUR- 639 113
DEPARTMENT OF CSE
SUBJECT: OBJECT ORIENTED ANALYSIS AND DESIGN
UNIT V –SOFTWARE QUALITY AND USABILITY
2 MARKS
2. What are the types of errors that you could find in your program?
1) Language (syntax) errors
2) Run-time errors
3) Logic errors
These are the various types of errors that would occur in the program that we develop.
4. What are the two types of Path testing? Define each. (UNIV QUES MAY/JUN 2012)
Path testing is one form of white box testing. It makes that each path in a object’s method
is executed at least once during testing. Two types of Path testing are;
Statement testing coverage - every statement in the object‘s method by executing
it at least once.
Branch testing coverage - ensure that every branch alternative has been executed
at least once under some test
14. Discuss about the Statement testing coverage and Branch testing coverage?
The main idea of statement testing coverage is to test every statement in the object‘s
method by executing it at least once.
The main idea behind branch testing coverage is to perform enough tests to ensure that
every branch alternative has been executed at least once under some test.
16 MARKS
1. Explain the issues and objectives of SQA. (UNIV QUES MAY/JUN 2012)
Page No: 325 - 328
2. What do you mean by system usability? Explain how user satisfaction is measured.
(UNIV QUES MAY/JUN 2012)
Page No: 341 - 343
3. Explain the various Testing Strategies. (UNIV QUES NOV/DEC 2009)
Page No: 328 – 330
4. How will you measure the user satisfaction? Describe. (UNIV QUES NOV/DEC 2009)
Page No: 345 -347
5. Describe the distinct aspects of system usability. (UNIV QUES NOV/DEC 2008)
Page No: 343 - 345
6. Discuss how a software quality is assured to a user. (UNIV QUES NOV/DEC 2008)
Page No: 326 - 328
TEXT BOOK:
1. Ali Bahrami, “Object Oriented Systems Development”, Tata McGraw – Hill, 1999.