KEMBAR78
Ooad Test With Ans | PDF | Class (Computer Programming) | Inheritance (Object Oriented Programming)
0% found this document useful (0 votes)
66 views5 pages

Ooad Test With Ans

The document consists of a series of multiple-choice questions related to object-oriented programming concepts, methodologies, and UML diagrams. It covers topics such as polymorphism, encapsulation, inheritance, and various software development methodologies. The questions aim to assess knowledge on the structure and principles of object-oriented design and development.

Uploaded by

arpit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views5 pages

Ooad Test With Ans

The document consists of a series of multiple-choice questions related to object-oriented programming concepts, methodologies, and UML diagrams. It covers topics such as polymorphism, encapsulation, inheritance, and various software development methodologies. The questions aim to assess knowledge on the structure and principles of object-oriented design and development.

Uploaded by

arpit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

1. Which of the following is not a part of 8.

The literal meaning of polymorphism


documentations? is:
a) Software requirement a) Few forms
specification document b) Many forms
b) System overview c) No forms
c) Test plan d) Different things with the same
d) Source code meaning

2. Stakeholders consist of: 9. Function overriding is a type of:


a) Developers a) Encapsulation
b) Management b) Inheritance
c) Users c) Polymorphism
d) All of the above d) Reusability

3. A class has: 10. Abstraction is:


a) Attributes and operations a) Elimination of relevant details
b) Attributes and states b) Eliminating irrelevant
c) Attributes of a class details
d) Operation of a class c) Getting distracted by the
thoughts
4. An object is defined as: d) Reducing the understanding of
a) Information of a class the system
b) Instance of a class
c) Attributes of a class 11. Object composition refers to:
d) Operation of a class a) Use of object of one class as
data type in another class
5. The objects of the same class have: b) Derived class inheriting
a) Different definitions for attributes and operations from
operations and information the base class
b) Same definition for c) Polymorphism
operations and information d) Data hiding concept
c) Different operations
d) Different formats 12. Object oriented methodologies
includes:
6. A class inherits information from a) Coad and Yourdon methodology
a) Descendant classes b) Jacobson methodology
b) Same class c) Rambaugh methodology
c) Ancestor classes d) All of the above
d) Descendant and ancestor
classes 13. Object oriented methodologies do not
include:
7. Encapsulation is known as: a) Coad and Yourdon methodology
a) Data sharing concept b) Jacobson methodology
b) Data retrieval concept c) Boehm methodology
c) Data hiding concept d) Rumbaugh methodology
d) Data transfer concept
14. A class inherit data and operations
from its:
a) Subclass
b) Superclass
c) Derived class
d) All of the above b) Macro process and minor
process
c) Macro process and micro
15. What is encapsulation? process
a) Enforcement of data hiding d) Macro and mini process
concept
b) Division of module into 21. The Rumbaugh methodology is
submodules popularly known as:
c) Including data members within a) Object method technique
the class b) Object oriented design
d) Including operations within the c) Object modelling technology
class d) Object modelling technique

16. What is the importance of data hiding? 22. The analysis phase of the OMT method
a) Preventing data from consist of:
intentional modifications a) Class model, static model,
b) Making data available in correct functional model
format b) Object model, dynamic
c) Preventing data from model, functional model
accidental modifications c) Object model, static model,
d) None of the above functional model
d) Object model, static model,
17. What are the benefits of inheritance? dynamic model
a) Lowers the numbers of lines of
code 23. OOSE stands for:
b) Lowers effort a) Object oriented system
c) Remove redundancy engineering
d) All of the above b) Object oriented system
evolution
18. What is the relationship between a c) Object oriented software
class A and another class B which evolution
includes the object of type class A as d) Object oriented software
its attribute? engineering
a) Has-a
b) Is-a 24. The Jacobson methodology is popularly
c) uses-a known as:
d) include-a a) Object modelling technique
b) Object oriented software
19. Generalization and specialization engineering
relationship between two classes are c) Object oriented design
known as: d) Object oriented analysis and
a) Has-a design
b) Uses-a
c) Is-a
d) Include-a 25. OMT stands for:
a) Object modelling technique
20. The Booch methodology can be b) Oriented modelling technique
broadly divided into: c) Object modelling technology
a) Micro process and major d) Object mobile technique
process
26. Object oriented modeling produces:
a) Robust design
b) High quality software
c) Well understood requirements
d) All of the above 34. In the fountain model, arrows with
circle depict:
a) Overlapping phases
27. UML combines methodology given by: b) Iterations
a) Rumbaugh and Jacobson c) Sequential phases
b) Rumbaugh and booch d) Reusability
c) Booch and Jacobson
d) Booch, Rumbaugh and 35. In fountain model, circles depict:
Jacobson a) Overlapping phases
b) Iterative phases
28. Use case scenario depicts: c) Sequential phases
a) Functionality of the case d) Reusability
b) Internal details of the use case
c) Path of the use case 36. RUP stands for:
d) None of the above a) Risk-oriented unified process
b) Resource uniform process
29. UML is related to: c) Rational unified process
a) Object oriented concepts d) Rational uniform process
b) Operation oriented concepts
c) Procedure oriented concepts 37. RUP is maintained by:
d) All of the above a) Microsoft
b) TCS
30. Object oriented approach is: c) Alcatel
d) IBM rational software
a) Non-iterative
b) Iterative
38. UML stands for:
c) Highly iterative
a) Unified model link
d) None of the above
b) Uniform modelling language
c) Unified modelling language
31. Which of the following is not an object-
d) Uniform Microsoft language
oriented model?
a) Fountain model
39. The team of unified process
b) Rational unified process
development includes
c) Extreme programing
a) I. Jacobson
d) None of the above
b) B. Boehm
c) Victor Basili
32. SDLC stands for:
d) L. Briand
a) Software development life
cycle
40. How many phases are included in the
b) Software design life cycle
RUP model?
c) System development life cycle
a) Two phases
d) Sequential design life cycle
b) Four phases
c) Five phases
d) Six phases
33. Object-oriented life cycle model deal
with:
a) Changing requirements
b) Real world projects
c) Business objects
d) All of the above
(c) Small objects
41. The major elements of the static (d) None of the above
structure of RUP are:
a) Workflows
b) Artifacts
c) Disciplines 48. An abstraction that describes a class of
d) All of the above scenarios____________.

42. SDD stands for ____________. (a) Polymorphism

(a) Software document (b) Requirements


development (c) USE CASE
(b) Software design document (d) None of the above
(c) Software development division
49. A use case that provides functionality
(d) None of the above to others ____________.

43. OMT was given by ____________. (a) Concrete use case


(a) Booch
(b) Abstract use case
(b) Jacobson (c) Actual use case
(c) Coad and Yourdon
(d) None of the above
(d) Rambaugh
50. An actor that is directly instantiated
44. Objectory standard for ____________. ____________.

(a) Concrete actor


re pment
(c) Object directory for SDLC
(b) Abstract actor
(c) Primary actor
(d) None of the above

45. Use case capture ____________. (d) Secondary actor

(a) ‘What’ of a system 51. UML is a language for ____________.

(b) ‘How’ a system (a) Visualizing


(c) ‘Why’ of a system
(d) ‘When’ of a system (b) Specifying
(c) Constructing
46. Which of the following is not an actor
____ (d) Documenting
(e) None of the above
(a) Printer
(b) Administrator 52. Interaction diagram is a collective term
(c) Clerk for ____________.
(d) None of the above (a) Sequence diagram +
Collaboration diagram
47. Those objects that can execute in (b) Activity diagram + STDs
parallel are called as ____________. (c) Deployment diagram +
Collaboration diagram
(a) Passive objects
(d) None of the above
(b) Active objects
53. Specialization and generalization are
____________.

(a) Same

(b) Complementary to each


other
(c) Synonyms
(d) None of the above

54. Which of the following is a static UML


diagram ____________.

(a) Class diagram

(b) Use Case diagram


(c) Sequence diagram

(d) None of the above

55. RUP is built around two concepts


____________.

(a) Phase + Workflows

(b) Diagram + Workflows


(c) Phases + Diagram

(d) None of the above

56. Some document, report or executable


that is produced , manipulated or
consumed is called as____________.

(a) SRS

(b) Artifact
(c) Process

(d) None of the above

You might also like