Font size
Worksheetsobject oriented analysis and design test2
Total questions: 50
Worksheet time: 50mins
What is Object Oriented Analysis?
Emphasis on finding requirements rather than solution
Emphasis on finding or describing objects
Emphasis on finding conceptual solution
Emphasis on defining objects and how they collaborate
What is UML?
Programming Language
Regular Language
Extinct Language
Visual Language
Which one is not the perspective to apply UML?
Conceptual Perspective
Specification Perspective
Design Perspective
Implementation Perspective
Choose the wrong option about Unified Process
Follows Waterfall Model
Iterative
Evolutionary
Follows Agile Model
Which Model does not follow Agile Methodology?
RAD
Extreme Programming
Unified Process
Scrum
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 class is divided into which of these compartments?
Name Compartment
Attribute Compartment
Operation Compartment
All of the Mentioned
Who consider diagrams as a type of Class diagram, component diagram, object diagram, and deployment diagram?
Structural
Behavioral
Non-Behavioral
Non-Structural
Which of the following is not a domain model guideline?
Think like a Mapmaker
Maintain domain model in a tool
Linguistic Analysis
Model with Description Classes
Which of the following is not a domain model guideline?
Think like a Mapmaker
Maintain domain model in a tool
Linguistic Analysis
Model with Description Classes
Which of the following is represented by a line in Domain Model?
Interface
Association
Aggregation
Composition
A travel package consists of airfare, hotel, and rental car reservations. This example should be modeled as
Composition
Association
Aggregation
Employees use our company cars. This example should be modeled as
Aggregation
Composition
Association
Which of the following is carried out for the detailed design process?
Both SRS and SAD are taken as input for the detailed design stage
Design alternatives are evaluated first and then Design is finalized
Detailed design is the output for the process
All of the mentioned
A design document is a complete engineering design specification composed of?
Software Architecture Document(SAD)
Detailed Design Document(DDD)
All of the mentioned
None of the mentioned
Which of the following statements about shared aggregations are true?
Shared aggregations are used to express an is-a relationship.
Chains of shared aggregation links may form a cycle..
The multiplicity of a shared aggregation may be ≥1.
A shared aggregation is shown by a solid-filled diamond on the end of an association line.
Association classes are used to ...
... model that the existence of one object depends on the existence of the association between two other objects.
... reduce the cardinality of associations.
... further specify associations.
Which of the following optional information can be given on an association between classes?
A small filled triangle near the association name to show in which way to "read" the name.
Name
An arrow at the end to show navigability.
Multiplicity at the end of an association.
Which visibilities can attributes and operations of classes have?
Protected
Private
Public
Friends
Package
You are given the clipping of a UML2 class diagram. Which of the following statements are true?
One object of A is associated with exactly one object of C and two objects of B.
One object of A may contain two objects of B.
One object of B may be associated with multiple objects of A.
If an instance of A is deleted, all contained instances of B are deleted as well.
The diamond near A is called composition.
How do you model the following situation with a UML2 class diagram:
On a blind date exactly two people take part. A person can take part in multiple blind dates. It is not sufficient to know a person to derive all his/her dates.
Data types in UML ...
... can be primitive types and enumerations.
... have instances without identity (in contrast to classes)..
... can have attributes but no operations.
... are noted like classes with the keyword <<datatype>> (or another pre-defined type, e.g. <<enumeration>>).
A class diagram describes ...
shows the interaction view of a system.
shows the dynamic view of a system.
shows the practical view of a system.
shows the static view of a system.
What is the Interaction diagram?
Interaction diagrams are the UML notations for dynamic modeling of collaborations
Interaction diagrams are a central focus of engineering design
All of the mentioned
None of the mentioned
What are the different interaction diagram notations does UML have?
A sequence diagram
A communication diagram
An interaction overview diagram
All of the mentioned
What is a sequence diagram?
A diagram that shows interacting individuals along the top of the diagram and messages passed among them arranged in temporal order down the page
A diagram that shows messages superimposed on a diagram depicting collaborating individuals and the links among them
A diagram that shows the change of an individual’s state over time
All of the mentioned
What is a lifeline?
It is a frame consisting of a rectangle with a pentagon in its upper left-hand corner
It is a rectangle containing an identifier with a dashed line extending below the rectangle
It is a name compartment; the interaction is represented inside the rectangle
None of the mentioned
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 of these are true with respect to the message arrows?
The synchronous message arrow is used when a sending individual continues execution after sending the message
The asynchronous message arrow is used when a sending individual suspends execution after sending the message
The dashed arrow is used either to show the return of control from a synchronous message or to create a new entity
All of the mentioned
State chart Diagrams are needed ________
when a class has complex life cycle
when the execution of scenario is to be traced
to allocate classes and objects to modules
to allocate processes to processors
Which of these are diagrammatic heuristics?
Use notes, constraints, properties and stereotypes to add information to UML models
Use Stereotypes to name dependencies
Use packages to group elements in static models
All of the mentioned
What are the ways in which artifacts can be deployed?
Artifact symbol can be placed within node symbol
The artifact symbol can appear outside the node but be attached to it by dependency arrow from the artifact
Artifact name can be listed inside the node symbol
All of the mentioned
What is true about the artifacts?
An Artifact is a physical entity
An artifact has spatio temporal location
All of the mentioned
None of the mentioned
Which of these is correct?
Artifacts instances and types have same names
Artifact names and instances are underlines
All of the mentioned
None of the mentioned
The order in which test levels are performed is:
Unit, Integration, Acceptance, System
Unit, System, Integration, Acceptance
Unit, Integration, System, Acceptance
It depends on the nature of a project
A ________ is a condition during the life of an object during which it satisfies performs some activity or waits for some event
Class
State
Actor
Component
System testing is a
Black box testing
Grey box testing
White box testing
Both a and b
Test cases are designed during which of the following stages?
Test recording
Test configuration
Test planning
Test specification
The technique applied for usability testing is:
White box
Grey box
Black box
Combination of all
Testing of software with actual data and in actual environment is known as?
Regression testing
Beta testing
Alpha testing
None of the above
A program with high cyclometic complexity is likely to be:
Large
Small
Difficult to write
Difficult to test
Unit testing is done by:
Users
Developers
Customers
None of the mentioned
Which of the following is not a Software Development Life Cycle Phase?
Requirements Gathering
Test Closure
Coding
Testing
Which of the following is not included in failure costs?
rework
repair
failure mode analysis
none of the mentioned
Which of the following is not an appraisal cost in SQA?
inter-process inspection
maintenance
quality planning
testing
UML format for attributes in domain model is:
Visibility Name: type multiplicity =default [property string]
type: Visibility Name multiplicity =default [property string]
Visibility Name: type[property string] =default multiplicity[property string]
None
In Domain Model, if A is a line item of transaction B(Eg: Sales Line Item - Sale). Its a Categorization approach to find which one of the following:
Attributes
Associations
Concepts
Category
Which of the following term describes testing?
Finding broken code
Evaluating deliverable to find errors
A stage of all projects
None of the mentioned
The primary objective of formal technical reviews is to find _________ during the process so that they do not become defects after release of the software.
errors
equivalent faults
failure cause
none of the mentioned
Software quality assurance consists of the auditing and reporting functions of management.
True
False
