BITS WILP Object Oriented Analysis and Design Quiz-1 2017-H1
Question
1
AA909 A class is
Select one:
a.
a class of objects
b.
a group of objects
c.
template for objects of a particular type
d.
a classification of objects
Feedback
The correct answer is: template for
objects of a particular type
Question
2
CA045 Which of the following
represent the built-in extensibility mechanism of the UML?
Select one:
a.
stereotypes
b.
relationships
c.
associations
d.
comments
Feedback
The correct answer is: stereotypes
Question
3
CA010 Aggregation is which of the
following?
Select one:
a.
Expresses an is-a relationship and is a stronger form of an association
relationship.
b.
Expresses a part-of relationship and is a weaker form of an association
relationship.
c.
Expresses an is-a relationship and is a weaker form of an association
relationship.
d.
Expresses a part-of relationship and is a stronger form of an association
relationship.
Feedback
The correct answer is: Expresses a
part-of relationship and is a stronger form of an association relationship.
Question
4
CA016 What services can be requested
from a class, which define the behavior of the class?
Select one:
a.
operations
b.
attributes
c.
names of classes
d.
stereotypes
Feedback
The correct answer is: operations
Question
5
AA931 An object is considered an
external entity in object-oriented modelling
Select one:
a.
its attributes are invariant during operation of the system
b.
it has numerous attributes
c.
it has no attributes relevant to the system
d.
its attributes change during operation of the system
Feedback
The correct answer is: its attributes
are invariant during operation of the system
Question
6
AA933 The expansion of the acronym
CRC is
Select one:
a.
Collecting Responsibilities Classes
b.
Creating Relevant Classes
c.
Class Responsibilities and Collaborators
d.
Collaborating with Relevant Classes
Feedback
The correct answer is: Class
Responsibilities and Collaborators
Question
7
CA028 Functions and procedures are
Select one:
a.
have side effects which require special care if they are used as subsystems
b.
old fashioned and they are not useful
c.
useful in designing computer systems
d.
not useful in designing computer systems
Feedback
The correct answer is: have side
effects which require special care if they are used as subsystems
Question
8
CA033 A diagram that shows the major
subsystems in an object-oriented system is called a
Select one:
a.
class diagram
b.
Package diagram
c.
System flowchart
d.
Component diagrams.
Feedback
The correct answer is: Package
diagram
Question
9
CA009 Which of the following is a
technique for hiding the internal implementation details of an object?
Select one:
a.
Abstraction
b.
Polymorphism
c.
Encapsulation
d.
Inheritance
Feedback
The correct answer is: Encapsulation
Question
10
CA029 By polymorphism of a subsystem
we mean
Select one:
a.
it should accept generic commandsand interpret appropriately
b.
it should have polymorphic data types
c.
it should morph polygons
d.
it should be reusable
Feedback
The correct answer is: it should
accept generic commandsand interpret appropriately
Question
11
CA034 A measure of the internal
strength of a module in a structure chart is called
Select one:
a.
Module functionality
b.
Module cohesion
c.
Module coupling
d.
Module integrity
Feedback
The correct answer is: Module
cohesion
Question
12
AA925 By polymorphism in
object-oriented modelling we mean
Select one:
a.
use of polymorphic operations
b.
use of similar operations to do similar things
c.
the ability to manipulate objects of different distinct classes
d.
the ability to manipulate objects of different distinct classes knowing only
their common properties
Feedback
The correct answer is: the ability
to manipulate objects of different distinct classes knowing only their common
properties
Question
13
CA026 In which of the following
mechanisms, types of all variables and expressions are fixed at compilation
time.
Select one:
a.
Dynamic Binding/ late binding
b.
Static Binding/ early binding
c.
Strong Typing
d.
Weak Typing
Feedback
The correct answer is: Static
Binding/ early binding
Question
14
CA042 Which of the following
component is used to clarify which actor performs which activity in an activity
diagram?
Select one:
a.
joins
b.
state
c.
swimlanes
d.
forks
Feedback
The correct answer is: swimlanes
Question
15
CA004 An abstract class is which of
the following?
Select one:
a.
A class that has no direct instances, but whose descendants may have direct
instances.
b.
A class that has no direct instances, but whose descendants may not have direct
instances
c.
A class that has direct instances, but whose descendants may not have direct
instances.
d.
A class that has direct instances, but whose descendants may have direct
instances.
Feedback
The correct answer is: A class that
has no direct instances, but whose descendants may have direct instances.
Question
16
CA032 An object is considered an
external entity in object-orinted modelling
Select one:
a.
it has numerous attributes
b.
its attributes are invariant during operation of the system
c.
its attributes change during operation of the system
d.
it has no attributes relevant to the system
Feedback
The correct answer is: its attributes
are invariant during operation of the system
Question
17
AA936 The CRC modeling primarily
requires (i)identifying classes and their responsibilities (ii)identifying
collaborators of each class and their responsibilities (iii)developing a
collaboration graph
Select one:
a.
i, ii, iii
b.
i, ii
c.
i, iii
d.
ii, iii
Feedback
The correct answer is: i, ii, iii
Question
18
CA041 The vertical dimension of a
sequence diagram represents
Select one:
a.
time
b.
objects
c.
lines
d.
messages
Feedback
The correct answer is: time
Question
19
AA914 A query operation on a object
Select one:
a.
has no side effects
b.
changes the state of an object
c.
is not allowed
d.
has side effect
Feedback
The correct answer is: has no side
effects
Question
20
AA927 Given a word statement of a
problem potential objects are identified by selecting
Select one:
a.
adverbs in the statement
b.
noun phrases in the statement
c.
verb phrases in the statement
d.
adjectives in the statement
Feedback
The correct answer is: noun phrases
in the statement
Question
21
CA035 The designing phase includes
the following activities, EXCEPT
Select one:
a.
Designing the user interface
b.
Designing and integrating the network
c.
Designing the project team
d.
Designing the application architecture
Feedback
The correct answer is: Designing the
project team
Question
22
AA911 In UML diagram of a class
Select one:
a.
state of object cannot be represented
b.
state is irrelevant
c.
state is represented as an attribute
d.
state is represented as a result of an operation
Feedback
The correct answer is: state is
represented as an attribute
Question
23
AA932 Object-oriented system
modelling using CRC method gives
Select one:
a.
C++ programs for the system
b.
Objective C programs for the system
c.
Classes of the system, their responsibilities and collaborating classes
d.
Java programs for the system
Feedback
The correct answer is: Classes of
the system, their responsibilities and collaborating classes
Question
24
CA019 A boundary class is an
analysis class that represents _____.
Select one:
a.
an API that is supplied by a third-party vendor and used to integrate with an
external system
b.
the interface between the client and middleware tiers in a system
c.
the user interface or Presentation layer of a system
d.
an intermediary or interface to something outside the system
Feedback
The correct answer is: an
intermediary or interface to something outside the system
Question
25
AA901 Computer systems are designed
by
Select one:
a.
simplifying requirements of system
b.
modular design
c.
breaking up the systems into independent parts
d.
breaking of the system into smaller self-contained co-operating subsystems
Feedback
The correct answer is: breaking of
the system into smaller self-contained co-operating subsystems
No comments:
Post a Comment