WorksheetsOBJECT ORIENTED ANALYSIS DESIGN
Total questions: 50
Worksheet time: 50mins
Models help us to________ a system as it is or the way it is wanted.
Analyze
Design
Visualize
Measure
To hide the internal implementation of an object we use________
inheritance
encapsulation
polymorphism
none of
these
What does a simple name in UML Class and objects consist of?
Letters
Digits
Punctuation Characters
All of the
mentioned
A class is divided into which of these compartments?
Name
Compartment
Attribute
Compartment
Operation
Compartment
All of the
mentioned
What
should be mentioned as attributes for conceptual modelling?
Initial
Values
Names
All of the
mentioned
None of the
mentioned
An operation can be described as?
Object
behavior
Class behavior
Functions
Object & Class behavior
What is the third step in sequence for conceptual class modelling?
Adding
Class
Adding Association
Adding Attribute
None of the
mentioned
_______ shows a set of objects and their relationships.
Class
diagram
Object diagram
Use case diagram
Activity
diagram
Forward
engineering of an ________ is theoretically possible but programmatically o
limited value.
a.
object diagram
b. activity
diagram
c. class
diagram
d. interaction
diagram
________ represents one static frame in the dynamic storyboard.
a.
Object diagram
b. Activity
diagram
c. Class
diagram
d. Interaction
diagram
________ helps to communicate the overall system architecture unambiguously.
Flow
charts
Designing
SRS
Templates
The best kind of models helps to choose ________
Degree
of detail
Design view
Single model
Choice of model
A collection of operations that specify the services rendered by a class or component known as________
Class
Interaction
Interface
Collaboration
Which one of the following is not a structural thing?
Class
Package
Use case
Node
A person may function in ________
Only one
role
Many roles
One role per
system
One role per
use case
________
can be done for both simple and complex systems.
Generalization
Specification
Modeling
Collaboration
The system icon identifies ________
The
boundaries of the system
The scope of
the project so
The context of
the system
Another system
in the role of an actor
What is
multiplicity for an association?
The
multiplicity at the target class end of an association is the number of
instances that can be associated with a single instance of source class
The multiplicity at the target class end of
an association is the number of instances that can be associated with a
number instance of source class
All of the mentioned
None of the
mentioned
Which of
the following are not in composition in " Car as a system"
Car and
seat covers
car and music
system
car and colour
car and engine
For
which level of visibility, the attributes of an object can be accessed and
methods can be invoked by any other methods in any other class?
public
private
protected
package
The idea of placing data and the processes (methods) that operate on the data into the same object is referred to as ____________
Information Hiding
Polymorphism
Object Binding
Encapsulation
A ___________ is a description of set of sequence of actions that a system performs
Use Case
Class
Interface
Activity
For showing scenarios, which one of the following OOAD artifacts is the MOST useful?
Class Diagrams
Activity Diagrams
Use Cases Diagrams
State Diagrams
Analysis classes evolve into which of the following?
Use-case realizations
Design classes
Design packages
Architecture
Which of the following are the phases of the unified process?
Inception, Analysis, Construction, Implementation
Inception, Elaboration, Construction, Transition
Initiation, Elaboration, Construction, Implementation
Initiation, Analysis Construction, Transition
In UML diagram of a class _________
State of object cannot be represented
State is irrelevant
State is represented as an attribute
State is represented as a result of an operation
An association indicates the relationship between ____________
Use cases
Classes
Interfaces
Objects
A use case diagram is used to model __________ of a system
Structure
Organization
Behavior
None
Which is not an attribute of an object?
behavior
state
Time
space
For showing scenarios, which one of the following OOAD artifacts is the MOST useful?
Class Diagrams
Activity Diagrams
Use cases
State Diagrams
During Use Case Analysis, why are analysis mechanisms used?
To reduce complexity and improve consistency by providing a shorthand representation for complex behavior
To simplify the task of creating use-case realizations by providing convenient shorthand for repetitive tasks
To gather common tasks into one place, in order to more easily assign them to developers for implementation
To verify that designers have performed the analysis task correctly, according to the architects recommendations
Which of the following is most true about UML?
UML is use case centric
UML uses Use Cases sometimes but not always
Use cases are only used if there is a misunderstanding in requirements
Use cases are only used as support to the data dictionary
An update operation in an object instance __________ (Select one)
Updates the class
Has no side effects
Deletes an instance
Alters values of attribute(s) of an object instance
A use case diagram is all of the following EXCEPT ___________
A formal way of representing how a business system interacts with its environment
Definition of the workflows of the unified process
Illustration of the activities that are performed by the users of the system
A sequence of actions a system performs that yields a valuable result for a particular actor
Mention all the guidelines to define conceptual subclasses
The subclass has additional attributes of interest
The subclass concept represents an animate thing that behaves differently than the superclass or other subclasses
The subclass does not have additional associations of interest
The subclass concept is operated same as the superclass
Which of the following is NOT in the Inception phase of the Unified Process?
Identify various attributes and methods of a class
Create a business case for the proposed system
Do a feasibility analysis for the proposed system
Perform business modeling
In the description of a class, a protected operation is shown by the symbol _________
-
+
#
~
__________ is the semantic relationship between two or more classifiers that involve connections among their instances
Composition
Multiplicity
Association
Navigability
A vague kind of association in the UML that loosely suggests whole-part relationships is called ___________
Associativity
Navigability
Multiplicity
Aggregation
Which among the following shows the persistent data to be stored somewhere else and has relation database design with some attributes and methods?
Domain Model
Object design
Data Model
Conceptual Classes
______________ is the activity of identifying commonality among concepts and defining superclass and subclass relationships
Generalization
Navigability
Aggregation
Inheritance
What are all the relationships used in class diagram?
Aggregation, Composition
Association
Generalization
Only (a) and (b)
(a), (b) and (c)
The primary purpose of a class diagram is _________
To uncover attributes and methods of a class
To show the users interaction with the system
To Model the interaction between the system
To construct a vocabulary of the system
The idea of placing data and the processes (methods) that operate on the data into the same object is referred to as ____________
Information Hiding
Polymorphism
Object Binding
Encapsulation
A ___________ is a description of set of sequence of actions that a system performs
Use Case
Class
Interface
Activity
What is collaboration diagram?
COLLABORATION DIAGRAM depicts the relationships and interactions among software objects.
COLLABORATION
DIAGRAM depicts the relationships and interactions among class.
COLLABORATION
DIAGRAM depicts the relationships and interactions among events.
COLLABORATION
DIAGRAM depicts the relationships and interactions among joins.
What are
the three different types of message arrows?
Synchronous,
asynchronous, asynchronous with instance creation
Self,
Multiplied, instance generator
Synchronous,
Asynchronous, synchronous with instance creation
None of the
mentioned
which is
not an Use Activity Diagram?
Model
the workflow in a graphical way, which is easily understandable.
Capture
the dynamic behavior of a system.
Model
business processes and their workflows.
Will not
generate high-level flowcharts to represent the workflow of any application.
Consider
a beverage machine .if the actor is ‘customer’ and the scope is
‘machine’.what is most likely to be found in the main scenario of the use
case ‘get drink’?
–
customer enters choice – machine shows price – customer puts in coins –
machine delivers drink
–
enter choice – if drink available then show price – put in coins – if paid
enough then deliver drink
–
machine sends price to LCD display – customer put coins in slot – coin
mechanism verifies amount and tells machine controller – machine controller
activates boiler –
–
enter choice – show price – put in coins – deliver drink
Which of
the following diagrams is used to model business workflows?
Deployment
diagram
Activity
Diagram
Class
Diagram
Package
Diagram
