Ooad MCQ
Ooad MCQ
A) sequence
B) interaction
C) deployment
D) use case
3) What can be requested from any object of the class to affect behavior? a. object
b. attribute
c. operation
d. instance
7) What does a simple name in UML Class and objects consist of? a. Letters
b. Digits
c. Punctuation Characters
d. All of the mentioned
8) What Does a Composite name consists of in a UML Class and object diagram? a.
Delimiter
b. Simple names
c. Digits
d. All of the mentioned
9) A Class consists of which of these abstractions?
a. Set of the objects
b. Operations
c. Attributes
d. All of the mentioned
10) A class is divided into which of these compartments?
a.Name Compartment
b. Attribute Compartment
c. Operation Compartment
d. All of the mentioned
14) Modeling elements that can have instances are called ________
a. classifiers
b. template classes
c. constraints
d. visibility
18) Ordinary class, with an additional dashed box in the upper-right corner of
the class is a ________
a. classifier
b. template class
c. constraints
d. visibility
21) Facade pattern promotes weak coupling between subsystem and its clients.
a) True
b) False
23) Which of the following is carried out for the detailed design process?
a) Both SRS and SAD are taken as input for the detailed design stage
b) Design alternatives are evaluated first and then Design is finalized
c) Detailed design is the output for the process
d) All of the mentioned
24) A design document is a complete engineering design specification composed
of?
a) Software Architecture Document(SAD)
b) Detailed Design Document(DDD)
c) All of the mentioned
d) None of the mentioned
25) Which of the following is not a Software Development Life Cycle Phase?
a) Requirements Gathering
b) Test Closure
c) Coding
d) Testing
26) In order to control cost, defects should ideally be detected in which phase:
a) Coding
b) Design
c) Implementation
d) Requirements Gathering
9) Which are considered forces to select a Strategy Pattern? Choose all that apply.
Select one or more:
a. A client needs to use a family of related objects
b. A change to an object requires changing other objects
c. A client needs to choose from multiple algorithms
d. Multiple classes are the same but differ only in the behaviour
10) To delete a cookie we need to call the deleteCookie method and we are passing in two
parameters, wh those parameters?
a. The first parameter is the name of the cookie, and the second parameter is
where it was created.
b. The first parameter is where it was created, and the second parameter is the
name of cookie.c. Both of these
d. None of these
11) Which of the following is black-box oriented and can be accomplished by applying the
same black-box meth discussed for conventional software?
a) Conventional testing
b) OO system validation testing
c) Test case design
d) Both Conventional testing and OO system validation testing