young call girls in Green Park🔝 9953056974 🔝 escort Service
OOM MCQ Dev by Prof PL Pradhan TGPCET, NAGPUR
1. Object Oriented Methodology MCQ Developed by Dr PL Pradhan Professor TGPCET NAGPUR
1.Complex real object contains
A. attributes
B. variables
C. constants
D. strings
Ans: A: attributes
2.Member function will access data and return value to user when it is
A. called
B. declared
C. initialized
D. deleted
Ans:A: called
3.Language which is called pure object oriented language because everything in it is treated consistently as an
object, from primitives such as characters and punctuation, all way up to whole classes, prototypes, blocks,
modules, etc. is
A. SmallTalk
B. PHP
C. C
D. Matlab
Ans: A: SmallTalk
4.In object oriented language, single unit which has data and its function is termed as
A. attribute
B. object
C. constant
D. loop
Ans: B: object
2. 5. Which of the following is the functionality of ‘Data Abstraction’?
a) Reduce Complexity
b) Binds together code and data
c) Parallelism
d) None of the mentioned
Ans: a) Reduce Complexity
6. Which of the following mechanisms is/are provided by Object Oriented Language to implement Object
Oriented Model?
a) Encapsulation
b) Inheritance
c) Polymorphism
d) All of the mentioned
Ans: d) All of the mentioned
7. Which of the these is the functionality of ‘Encapsulation’?
a) Binds together code and data
b) Using single interface for general class of actions.
c) Reduce Complexity
d) All of the mentioned
Ans:a) Binds together code and data
8. What is ‘Basis of Encapsulation’?
a) object
b) class
c) method
d) all of the mentioned
Ans: d) all of the mentioned
9. Which of the following is a mechanism by which object acquires the properties of another object?
a) Encapsulation
b) Abstraction
c) Inheritance
d) Polymorphism
Ans: c) Inheritance
3. 10. Which of the following supports the concept of hierarchical classification?
a) Polymorphism
b) Encapsulation
c) Abstraction
d) Inheritance
Ans: d) Inheritance
11.Which Keyword from the following is used to inherit properties from one class into another?
a) extends
b) subclasses
c) native
d) all of the mentioned
Ans: a) extends
12. Which of the following concept is often expressed by the phrase, ‘One interface, multiple methods’?
a) Abstraction
b) Polymorphism
c) Inheritance
d) Encapsulation
Ans: b) Polymorphism
13. The method of design encompassing the process of object oriented decomposition and a notation for
depicting both logical and physical and as well as static and dynamic models of the system under design is
known as:
a) Object- Oriented Programming
b) Object- Oriented Design
c) Object- Oriented Analysis
d) None of the mentioned
Ans: b) Object- Oriented Design
14.What is the programming style of the object oriented conceptual model?
a) Invariant relationships
b) Algorithms
c) Classes and objects
d) Goals, often expressed in a predicate calculus.
4. Ans: c) Classes and objects
15.The process of compartmentalizing the elements of an abstraction that constitute its structure and
behavior is called as
a) Hierarchy
b) Encapsulation
c) Modularity
d) Entity Abstraction
Ans: b) Encapsulation
16. Single inheritance, Multiple inheritance, and Aggregation comes under _______
a) Modularity
b) Typing
c) Hierarchy
d) None of the mentioned
Ansc) Hierarchy
17. What is that concept in type theory in which a single name may denote objects of many different classes
that are related by some common super class referred to ______
a) Monomorphism
b) Type Checking
c) Polymorphism
d) Generalization
Ans;c) Polymorphism
18. Object oriented technology is built upon a sound engineering foundation, whose elements are collectively
called as _________
a) Von Neumann Model
b) Object Model
c) Structured Model
d) Programming Model
Ans: b) Object Model
19.Callback is an operation provided by
a) Inheritance
b) Encapsulation
5. c) Modularity
d) Abstraction
Ans d) Abstraction
20. Inheritance is an example of which type of hierarchy
a) Class Structure
b) Object Structure
c) Both
d) None of the mentioned
Ans: a) Class Structure
21. Superclass represents ______________ abstractions
a) Generalized abstractions
b) Specialization abstractions
c) Both
d) None of the mentioned
Ans: a) Generalized abstractions
22.Subclass represents _______________ abstractions
a) Generalized abstractions
b) Specialization abstractions
c) Both
d) None of the mentioned
Ans b) Specialization abstractions
23. Which of the following statements about object model is true?
I. Object model encourages the reuse of software and entire design of the application.
II. Object model produces systems that are built upon stable intermediate forms.
III. Object model reduce the inherent in developing complex systems.
IV. None of the mentioned
a) I, III
b) I, II
c) I, II, III
d) IV
Ans:c) I, II, III
6. 24. Which of the following property is associated with objects?
a) State
b) Behavior
c) Identity
d) All of the mentioned
Ans: d) All of the mentioned
25.Which of the property of a object encompasses all of the (usually static) properties of the object plus the
current (usually dynamic) values of each of these.
a) Semantics
b) Behavior
c) State
d) Identity
Ans c) State
26.A ________ is a description of a set of objects that share the same attributes, operations, relationships, and
semantics.
a) Structure
b) Class
c) Constructor
d) Function
Ans: b) Class
27. Process used for determining respective project's requirements and than develop a design for that project
is termed as
A. initializing
B. requirement checking
C. analysis
D. project study
E. Ans C: analysis
28.An attribute is a data item held by which of the following ?
a) Class
7. b) Object
c) All of the mentioned
d) None of the mentioned
Ans: c) All of the mentioned
29.An operation can be described as?
a) Object behavior
b) Class behavior
c) Functions
d) Object & Class behavior
Ans d) Object & Class behavior
30. In data-flow diagram, ………………… represent functions, which transform inputs to outputs.
A) rounded rectangle
B) rectangles
C) circles
D) arrows
Ans:A ) rounded rectangle