SlideShare une entreprise Scribd logo
1  sur  27
Télécharger pour lire hors ligne
TGPCET NAGPUR INDIA
OOS-MCQ for GATE-UPSC-NETQNS
OOS MCQ 2018 Developed by Dr PL Pradhan, IT Dept,
TGPCET, NAGPUR, Subject Teacher of OOM.
6/30/2018
Tulsiramji Gaikwad-Patil College of Engineering and Technology
Wardha Road, Nagpur-441 108
NAAC Accredited
Department of Information Technology
OOS MCQ 2018
The Object oriented system developed by Dr Pradhan P L which will be helpful to GATE-UPSC-NET Exam
for B Tech, M Tech CSE ,IT, BCA, MCA & MSc ( Computer Sc & IT )
Developed by Dr PL Pradhan PL,
IT Dept, TGPCET, NAGPUR, INDIA
Subject Teacher of OOM.
QNS.SN Description of Questions Answer
1. 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
Object Model
2. 2) Which of the following programming language are object
oriented in nature
a) Smalltalk and Simula
b) FORTRAN and ALGOL
c) C and Ada
d) Perl and Python
Smalltalk and Simula
3. 3) Callback is an operation provided by
a) Inheritance
b) Encapsulation
c) Modularity
d) Abstraction
Abstraction
4. Inheritance is an example of which type of hierarchy
a) Class Structure
b) Object Structure
c) Both
d) None of the mentioned
Class Structure
5. 7) Superclass represents ______________ abstractions
a) Generalized abstractions
b) Specialization abstractions
c) Both
d) None of the mentioned
Generalized
abstractions
6. 8) Subclass represents _______________ abstractions
a) Generalized abstractions
b) Specialization abstractions
c) Both
d) None of the mentioned
Specialization
abstractions
7. _____________ is the property that distinguishes an active
object from one that is not active.
a) Persistence
b) Typing
c) Aggregation
d) Concurrency
Concurrency
8. ) Which of the following property is associated with objects?
a) State
b) Behavior
c) Identity All of the mentioned
d) All of the mentioned
9. 2) 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
State
10. Which of the following object types are generally autonomous,
meaning that they can exhibit some behavior without being
operated upon by another object
a) Passive
b) Active
c) Both a and b
d) None of the mentioned
Active
11. 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
Class
12. A ________ is a special member function whose task is to
initialize the objects of its class.
a) Constructor
b) Destructor
c) Selector
d) Iterator
Constructor
13. A subsystem is a system that functions as a component of
another ________.
A) system
B) organization
C) computer
D) application
System
14. Class is a set of objects that share the same ________.
A) name
B) state
C) attributes and operations
D) all of the above
attributes and
operations
15. The employee name is Richard Smith and he checks the
inventory periodically." In this sentence, "Richard Smith" is
the ________ of attribute "name"
A) class
object
B) object
C) value
D) operation
16. ________ are deployed to model requirement gathering.
A) Use cases
B) UML
C) SDLC
D) Functional requirements
Use cases
17. ________ specifies how the behavior of the system must be
tailored to the level of its users' expertise.
A) Reliability
B) Testability
C) Usability
D) Maintainability
Maintainability
18. Analysis process which involves analyzing and designing of
system from an object-oriented programming is termed as
 Object Analysis
 Object Oriented Analysis
 Overall Oriented Analysis
 System Analysis
Object Oriented
Analysis
19. 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
analysis
20. In 1977, Apple Computer popularized phenomenon of
A. Digital computing
B. Personal computing
C. Distributed computing
D. Client/server computing
Personal
computing
21. Diagram which shows relationship between classes is termed
as
A. Class diagram
B. sequential diagram
C. use case diagram
D. communication diagram
Class diagram
22. Polymorphism is achieved by
A. Operators
B. Arrays
C. Constructors
D. Virtual function
Virtual function
23. Diagram which shows how objects communicate with each
other regarding a sequence of messages is called
A. object diagram
B. sequential diagram
C. use case diagram
D. communication diagram
communication
diagram
24. Programming language which sometimes called 'write once,
run any where is
A. Java
B. Basic
C. Pascal
D. Ada
Java
25. At Ericson, UML was developed by
A. Grady Booch
B. James Rumbaugh
C. Ivar Jacobson
D. Robert Lafore
Ivar Jacobson
26. Programming language which uses both object-oriented
programming and functional programming paradigms is
A. Scala
B. Ada
C. Pascal
D. Machine language
Scala
27. A base class contains elements common to a group of
A. parent classes
B. derived classes
C. sub classes
D. variables
derived classes
28. First object oriented language 'Smalltalk' were first appeared
in
A. 1972
B. 1982
C. 1992
D. 2000
1972
29. In object oriented programming there are two distinct views,
one is consumer and second is manufacturer view, that
consumer action are called
A. Functions
B. Operations
C. Methods
D. All of them
Operations
30. How many operators are supported by C++?
A. 30 operators
B. 40 operators
C. 45 operators
D. 65 operators
40 operators
31. Gorden Moore was co-founder of
A. Intel
B. HP
C. Dell
D. Sony
Intel
32. At Rational Software, UML were developed by
A. Grady Booch
B. James Rumbaugh
C. Ivar Jacobson
D. Robert Lafore
Grady Booch
33. A procedure for solving a problem in terms of actions and their
order, is called as
A. Program instructions
B. Algorithm
C. Template
D. All of them
Algorithm
34. Many companies find that being able to reuse classes on a
second project provides original programming investment
A. decrease return
B. increase return
C. no return
D. infinite return
increase return
35. Procedural language contains systematic order of
A. statements
B. objects
C. classes
D. operations
statements
36. Rectangle symbol in flowchart is called as
A. Action symbol
B. Terminating symbol
C. Begin symbol
D. Connector symbol
Action symbol
37. Complex real object contains
A. attributes
B. variables
C. constants
D. strings
attributes
38. Member function will access data and return value to user
when it is
A. called
B. declared
C. initialized
D. deleted
called
39. Android operating system was acquired by Google in
A. 2002
B. 2004
C. 2005
D. 2007
2004
40. When an object goes out of scope, which function is called
automatically?
A. Constructor
B. Destructor
C. Inline
D. End of line
Destructor
41. 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
SmallTalk
42. Today's fastest growing mobile phone operating system is
A. Apple's IOS
B. Google's Android
C. Mac OS X
D. Black berry OS
Google's Android
43. C++ systems consists of
A. Environment
B. The Language
C. The standard libraries
D. All of them
All of them
44. In an economical model, physical object is
A. economics
B. transport
C. probability
D. country
country
45. In C++, original class is called
A. base class
B. derived class
C. sub class
D. object
base class
46. Mobile operating system is
A. Linux
B. Windows 10
C. Mac OS X
D. Black berry OS
Black berry OS
47. Provision of a single interface to entities of different types is
termed as
A. polymorphism
B. dimorphism
C. trimorphisim
D. automorphism
polymorphism
48. Data in an object oriented language is safe from accidental
alternation as it is
A. buged
B. compressed
C. hidden
D. error free
hidden
49. FORTRAN was developed by
A. Macintosh
B. Microsoft
C. IBM
D. None of them
IBM
50. If we want to read a data item in an object, member function in
an object is
A. call
B. declare
C. initialize
D. delete
call
51. There are how many ways to use existing classes to define a
new class?
A. 1
B. 2
C. 3
D. 4
2
52. Data encapsulation and data hiding are key features of
A. procedural language
B. machine language
C. structural language
D. object oriented language
object oriented
language
53. When a data member of new class is an object of another class,
it is called as
A. New class is a composite of other objects
B. New class is inherited
C. New class is aggregate of another
D. None of them
New class is a
composite of other
objects
54. Which of following language designed mainly for object
oriented programming, but with some procedural elements?
A. Java
B. PHP
C. Visual Basic
D. Matlab
Java
55. UML language is helpful in developing
A. software systems
B. hardware systems
C. control systems
D. instrumental systems
software systems
56. First version of UML was released in
A. 1980s
B. 1991
C. 1996
D. 2000
1996
57. We can define a new class from an existing class, by using
A. Inheritance
B. Composition
C. Constructors
D. Both A and B
Both A and B
58. Object oriented language has single unit which combines
A. data and function
B. data and constant
C. function and simulation
D. string and character
data and function
59. If a class wants to allow clients to read private data, class can
provide a
A. Get function
B. Set function
C. Allow function
D. Both A and B
Both A and B
60. A. Wrapping of private data in classes in object-oriented
programming languages is termed as:
B. data encapsulation
C. data declaration
D. data initialization
E. data deletion
data encapsulation
61. C++ allows objects of different types to respond differently to
same function call, is called
A. Inheritance
B. Encapsulation
C. Polymorphism
D. None of them
Polymorphism
62. At General Electric, UML were developed by
A. Grady Booch
B. James Rumbaugh
C. Ivar Jacobson
D. Robert Lafore
James Rumbaugh
63. A UML diagram that facilitates requirements gathering and
interacts between system and external users, is called as
A. Flowchart diagram
B. Sequence diagram
C. Use case diagram
D. Data flow diagram
Use case diagram
64. In programming, reusable code is use of similar code in
A. single function
B. two functions
C. multiple functions
D. can't use similar code
multiple functions
65. n Smalltalk language, object functions are named as
A. member functions
B. methods
C. local functions
D. linear functions
methods
66. Composition is often referred as "has-a" relation, whereas
inheritance is referred as
A. with-relation
B. is-a relationship
C. to-a relationship
D. None of them
is-a relationship
67. Diagram which describes how a software system is split up into
components and shows dependencies among these components
A. object diagram
B. component diagram
C. use case diagram
D. communication diagram
component
diagram
68. Overloading is kind of
A. polymorphism
B. dimorphism
C. trimorphisim
D. automorphism
polymorphism
69. Sending a message to object is referred to as
A. calling object
B. declaring object
C. sending object
D. initializing object
calling object
70. Object provides an approach to program organization by
helping to
A. delete program's data
B. maintain program's data
C. send program's data
D. initialize program's data
maintain program's
data
71. As functions do in procedural program, inheritance element
shortens an
A. object oriented program
B. machine program
C. procedural program
D. structural program
object oriented
program
72. Attributes are also known as
A. characteristics
B. behavior
C. constants
D. loops
characteristics
73. Analysis process which involves analyzing and designing of
system from an object-oriented programming is termed as
A. Object Analysis
B. Object Oriented Analysis
C. Overall Oriented Analysis
D. System Analysis
Object Oriented
Analysis
74. One object oriented class can become parent of several
A. objects
B. sub classes
C. sub objects
D. variables
sub classes
75. Three separate modeling languages of UML were known as
A. three UML
B. three amigos
C. three objects
D. three class
three class
76. Complex real object must have some particular movement,
referred to as
A. behavior
B. variables
C. constants
D. strings
behavior
77. In object oriented language, program is divided into
A. objects
B. functions
C. data
D. loops
objects
78. Objects are members of
A. classes
B. functions
C. variables
D. data
classes
79. Data and function in object oriented programming is
encapsulated into
A. single unit
B. two different units
C. global data
D. local data
single unit
80. A class that have no pure virtual member functions, are called
A. Polymorphic class
B. Concrete class
C. Base class
D. Abstract class
Concrete class
81. IPods, iPhones and iPads programming is based on
A. Objective C
B. Basic
C. Pascal
D. Ada
Objective C
82. When a class serves as base class for many derived classes, the
situation is called:
polymorphism
1. hierarchical inheritance
2. hybrid inheritance
3. multipath inheritance
4. none of these
hierarchical
inheritance
83. When two or more classes serve as base class for a derived class,
the situation is known as __________.
multiple inheritance
1. polymorphism
2. encapsulation
3. hierarchical inheritance
4. none of these
multiple inheritance
84. Multiple inheritance leaves room for a derived class to have
_______ members.
dynamic
1. private
2. public
3. ambiguous
4. none of these
5. ambiguous
85. 1. Hybrid inheritance is ___________.
1. multiple inheritance
2. multilevel inheritance
3. multipath inheritance ...
multiple
inheritance
6.
86. Overloading is otherwise called as
A
.
virtual polymorphism
B.transient polymorphism
C
.
pseudo polymorphism
D
.
ad-hoc polymorphism
2.
ad-hoc polymorphism
7.
87. Which of the following cannot be declared static?
A
.
Class
B.Object
C
.
Functions
D
.
Both (a) &
(b)
3.
D
.
Both (a) &
(b)
8.
88.
A class may
A
.
not have friends
B.have one friend
C
.
have one friend function and one friend class
D
.
have any number of friends
have any number of
friends
89. Data hiding is used to create
A
.
inline functions
B.private class members
C
.
nonscalar type
D
.
cryptic code
private class members
90. Friendship may be granted to
A.no member functions of other classes
B.one member function from one other class
C.one member function each from as many classes as appropriate
D.as many member functions of other classes as appropriate.
as many member
functions of other
classes as appropriate
91. 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
Object- Oriented
Design
92. 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.
Classes and objects
93. The essential characteristics of an object that distinguish it from all
other kinds of objects and thus provide crisply defined conceptual
boundaries, relative to the perspective of the viewer is called:
a) Encapsulation
b) Modularity
c) Hierarchy
d) Abstraction
Abstraction
94. Abstraction is classified into _______ types
a) 4
b) 3
c) 2
d) 1
4
95. he 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
Encapsulation
96. Single inheritance, Multiple inheritance, and Aggregation comes
under _______
a) Modularity
b) Typing
c) Hierarchy
d) None of the mentioned
Hierarchy
97. In which of the following mechanisms, types of all variables and
expressions are fixed at compilation time.
a) Strong Typing
b) Weak Typing
c) Static Binding/ early binding
d) Dynamic Binding/ late binding
Static Binding/ early
binding
98. In which of the following mechanisms, types of all variables and
expressions are not known until runtime
a) Strong Typing
b) Weak Typing
c) Static Binding/ early binding
d) Dynamic Binding/ late binding
Dynamic Binding/ late
binding
99. 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
Polymorphism
100. 1) Which of the following property is associated with objects?
a) State
b) Behavior
c) Identity
d) All of the mentioned
All of the mentioned
101. 2) 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
State
102. 5) 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
Class
103. A ________ is a special member function whose task is to
initialize the objects of its class.
a) Constructor
b) Destructor
c) Selector
d) Iterator
Constructor
104. 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
Reduce Complexity
105. 2. Which of the following mechanisms is/are provided by Object
Oriented Language to implement Object Oriented Model?
All of the mentioned
a) Encapsulation
b) Inheritance
c) Polymorphism
d) All of the mentioned
106. 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
) Binds together code
and data
107. What is ‘Basis of Encapsulation’?
a) object
b) class
c) method
d) all of the mentioned
d) all of the mentioned
108. 5. How will a class protect the code inside it?
a) Using Access specifiers
b) Abstraction
c) Use of Inheritance
d) All of the mentioned
Using Access
specifiers
109. Which of the following is a mechanism by which object acquires
the properties of another object?
a) Encapsulation
b) Abstraction
c) Inheritance
d) Polymorphism
Inheritance
110. . Which of the following supports the concept of hierarchical
classification?
a) Polymorphism
b) Encapsulation
c) Abstraction
d) Inheritance
Inheritance
111. . 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
extends
112. Which of the following concept is often expressed by the phrase,
‘One interface, multiple methods’?
a) Abstraction
b) Polymorphism
c) Inheritance
d) Encapsulation
Polymorphism
113.
Which is not one of the model of OMT?
Options
- dynamic
- static
- functional
- none
functional
114.
UML stands for -
Options
- Universal Modeling Language
- Unified Modelling Language
- Universal Modelling Language
- Unified Modelling Language
Unified Modelling
Language
115.
UML is not a language for -
Options
- visualization
- documentation
- simplification
- construction
simplification
116.
Structural things are identified by __________________ of UML
models.
Options
- nouns
- classes
- objects
- entities
nouns
117. Which doesn’t represent a relationship in UML
- Dependency
- Generalization
- Specification
- Realization
Specification
118.
There are generally ________ diagrams used in UML.
Options
- seven
- eight
- nine
nine
- ten
119.
Interaction diagrams are -
Options
- Sequence Diagram
- Collaboration Diagram
- both a and b
- none
both a and b
120. When a class serves as base class for many derived classes, the
situation is called:
polymorphism
1. hierarchical inheritance
2. hybrid inheritance
3. multipath inheritance
4. hierarchical
inheritance
121. When two or more classes serve as base class for a derived class,
the situation is known as __________.
multiple inheritance
1. polymorphism
2. encapsulation
3. hierarchical inheritance
4. none of these
multiple inheritance
5.
122. What type of relationship is represented by Shape class and Square
?
Realization
Generalization
Aggregation
Dependency
Realization
123. The class diagram, component diagram, object diagram and
deployment diagram are considered as types of
structural diagrams
behavioral diagrams
non-behavioral diagrams
non structural diagrams
structural diagrams
124. he weak entities are represented in UML diagrams by using
aggregations called
qualified segregation
non-qualified segregation
non-qualified aggregation
qualified aggregation
qualified aggregation
125. In UML diagrams, the relationship between the object and
component parts is represented by
Coordination
aggregation
segregation
increment
aggregation
126.
Dynamic models are used to define the … of components
overtime.
Behavior,Strategy,Condition,Other
Behavior
127.
Object Oriented Programming is characterized by using
encapsulation
inheritance.
polymorphism.
all of the above.
all of the above.
128.
.An attribute is a data item held by which of the following ?
a) Class
b) Object
c) All of the mentioned
d) None of the mentioned
All of the
mentioned
129.
An operation can be described as?
a) Object behavior
b) Class behavior
c) Functions
d) Object & Class behavior
Object & Class
behavior
130.
Which of these are the heuristics ?
a) Name classes, attributes, and roles with noun phrases
b) Name operations and associations with verb phrases
c) Stick to binary associations
d) All of the mentioned
All of the
mentioned
A class that takes data pertaining to a business event and translates the data for appropriate
presentation to the user would be a(n):-
A) system class-
B)
interface class-
C)
persistence class-
D)
control class
E)
entity class-
---2 INCORRECT
Which of the following is(are) the UML level of visibility?
A) persistent- B) public- C)
protected- D) both (b) and (c)- E) both
(a) and (b) and (c)
---3 INCORRECT
A class that contains business-related information and implements the analysis classes is a(n):-
A) interface class
B) control class- C) entity class- D)
object-oriented class- E) none of the above-
--4 INCORRECT
For which level of visibility, the attributes of an object can be accessed and methods can be invoked
by any other methods in any other class? (check)- A) protected-
B) unprotected
C) private- D) public- E)
persistence- -
-5 INCORRECT
A customer class in a sales system would be an example of a(n):- A)
interface class- B) entity class- C) control class
D) system class- E) persistence class-
--
6 INCORRECT
Which of the following is NOT a tool that can be used for discovering class behaviors and
responsibilities?- A) interface diagram- B) class
diagram- C) CRC card- D) sequence diagram
E) none of the above- ---7 INCORRECT
Which diagram depicts classes that correspond to software components that are used to build the
software application?
A) state transition- B) design class-
C) state machine- D) sequence- E)
none of the above
---8 INCORRECT
Which of the following is the last step in modeling class interactions, behaviors, and states that
support the use-case scenarios?- A) transforming the “analysis” use cases
to “design” use cases
B) identifying class behaviors and responsibilities- C)
identifying class attributes- D) identifying and classifying use-case
design classes- E) model object states-
--9 INCORRECT
Which of the following is not included on a design class diagram?- A)
methods with parameters- B) dependencies
C)
cla
sses
D) entities
E)
na
vigability
10 CORRECT
Which diagram
models the life
cycle of a single
object? A)
visi
bility diagram
B)
sta
te transition
C)
se
quence
D) state machine
E)
no
ne of the above

Contenu connexe

Tendances

200 mcq c++(Ankit dubey)
200 mcq c++(Ankit dubey)200 mcq c++(Ankit dubey)
200 mcq c++(Ankit dubey)Ankit Dubey
 
Computers basic mcq questions 3
Computers basic mcq questions 3Computers basic mcq questions 3
Computers basic mcq questions 3Yazeed Khalid
 
MCQ Bank for Computer Fundamantals from mcqSets.com
MCQ Bank for Computer Fundamantals from mcqSets.comMCQ Bank for Computer Fundamantals from mcqSets.com
MCQ Bank for Computer Fundamantals from mcqSets.comSuresh Khanal
 
History of C Programming Language
History of C Programming LanguageHistory of C Programming Language
History of C Programming LanguageNiloy Biswas
 
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...Kuntal Bhowmick
 
Presentation of wireless todo list app
Presentation of wireless todo list appPresentation of wireless todo list app
Presentation of wireless todo list appnazmul hoque
 
300+ top database management system questions and answers 2020
300+ top database management system questions and answers 2020300+ top database management system questions and answers 2020
300+ top database management system questions and answers 2020tadeseguchi
 
Theory of automata and formal language lab manual
Theory of automata and formal language lab manualTheory of automata and formal language lab manual
Theory of automata and formal language lab manualNitesh Dubey
 
Deciability (automata presentation)
Deciability (automata presentation)Deciability (automata presentation)
Deciability (automata presentation)Sagar Kumar
 
JS2 COMPUTER STUDIES FIRST TERM C.A 2
JS2 COMPUTER STUDIES FIRST TERM C.A 2JS2 COMPUTER STUDIES FIRST TERM C.A 2
JS2 COMPUTER STUDIES FIRST TERM C.A 2Ejiro Ndifereke
 
Object Oriented Programming Lab Manual
Object Oriented Programming Lab Manual Object Oriented Programming Lab Manual
Object Oriented Programming Lab Manual Abdul Hannan
 
Introduction to programming with c,
Introduction to programming with c,Introduction to programming with c,
Introduction to programming with c,Hossain Md Shakhawat
 
Object-Oriented Analysis And Design With Applications Grady Booch
Object-Oriented Analysis And Design With Applications Grady BoochObject-Oriented Analysis And Design With Applications Grady Booch
Object-Oriented Analysis And Design With Applications Grady BoochSorina Chirilă
 
Structure of java program diff c- cpp and java
Structure of java program  diff c- cpp and javaStructure of java program  diff c- cpp and java
Structure of java program diff c- cpp and javaMadishetty Prathibha
 
Inheritance, friend function, virtual function, polymorphism
Inheritance, friend function, virtual function, polymorphismInheritance, friend function, virtual function, polymorphism
Inheritance, friend function, virtual function, polymorphismJawad Khan
 
Php & mysql course syllabus
Php & mysql course syllabusPhp & mysql course syllabus
Php & mysql course syllabusPapitha Velumani
 

Tendances (20)

Computer Quiz MCQ's
Computer Quiz MCQ'sComputer Quiz MCQ's
Computer Quiz MCQ's
 
Type script mcq
Type script mcqType script mcq
Type script mcq
 
200 mcq c++(Ankit dubey)
200 mcq c++(Ankit dubey)200 mcq c++(Ankit dubey)
200 mcq c++(Ankit dubey)
 
Computers basic mcq questions 3
Computers basic mcq questions 3Computers basic mcq questions 3
Computers basic mcq questions 3
 
MCQ Bank for Computer Fundamantals from mcqSets.com
MCQ Bank for Computer Fundamantals from mcqSets.comMCQ Bank for Computer Fundamantals from mcqSets.com
MCQ Bank for Computer Fundamantals from mcqSets.com
 
History of C Programming Language
History of C Programming LanguageHistory of C Programming Language
History of C Programming Language
 
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
 
Presentation of wireless todo list app
Presentation of wireless todo list appPresentation of wireless todo list app
Presentation of wireless todo list app
 
300+ top database management system questions and answers 2020
300+ top database management system questions and answers 2020300+ top database management system questions and answers 2020
300+ top database management system questions and answers 2020
 
Theory of automata and formal language lab manual
Theory of automata and formal language lab manualTheory of automata and formal language lab manual
Theory of automata and formal language lab manual
 
Deciability (automata presentation)
Deciability (automata presentation)Deciability (automata presentation)
Deciability (automata presentation)
 
JS2 COMPUTER STUDIES FIRST TERM C.A 2
JS2 COMPUTER STUDIES FIRST TERM C.A 2JS2 COMPUTER STUDIES FIRST TERM C.A 2
JS2 COMPUTER STUDIES FIRST TERM C.A 2
 
Object Oriented Programming Lab Manual
Object Oriented Programming Lab Manual Object Oriented Programming Lab Manual
Object Oriented Programming Lab Manual
 
Introduction to programming with c,
Introduction to programming with c,Introduction to programming with c,
Introduction to programming with c,
 
Object-Oriented Analysis And Design With Applications Grady Booch
Object-Oriented Analysis And Design With Applications Grady BoochObject-Oriented Analysis And Design With Applications Grady Booch
Object-Oriented Analysis And Design With Applications Grady Booch
 
The DFD
The DFDThe DFD
The DFD
 
Structure of java program diff c- cpp and java
Structure of java program  diff c- cpp and javaStructure of java program  diff c- cpp and java
Structure of java program diff c- cpp and java
 
Inheritance, friend function, virtual function, polymorphism
Inheritance, friend function, virtual function, polymorphismInheritance, friend function, virtual function, polymorphism
Inheritance, friend function, virtual function, polymorphism
 
Php & mysql course syllabus
Php & mysql course syllabusPhp & mysql course syllabus
Php & mysql course syllabus
 
UNIT-2-PPTS-DAA.ppt
UNIT-2-PPTS-DAA.pptUNIT-2-PPTS-DAA.ppt
UNIT-2-PPTS-DAA.ppt
 

Similaire à OOM MCQ 2018

Kality CS Model_Exit_Exams_with_answer - Copy (2).doc
Kality CS Model_Exit_Exams_with_answer - Copy (2).docKality CS Model_Exit_Exams_with_answer - Copy (2).doc
Kality CS Model_Exit_Exams_with_answer - Copy (2).docAnimutGeremew3
 
Chapter 1 Introduction to Computers- Programs- and Java 1- A Java prog.pdf
Chapter 1 Introduction to Computers- Programs- and Java 1- A Java prog.pdfChapter 1 Introduction to Computers- Programs- and Java 1- A Java prog.pdf
Chapter 1 Introduction to Computers- Programs- and Java 1- A Java prog.pdfakknit
 
Software Engineering Question Bank.docx
Software Engineering Question Bank.docxSoftware Engineering Question Bank.docx
Software Engineering Question Bank.docxkarthikaparthasarath
 
Cis115 programming logic
Cis115 programming logicCis115 programming logic
Cis115 programming logicCarla Michael
 
I assignmnt(oops)
I assignmnt(oops)I assignmnt(oops)
I assignmnt(oops)Jay Patel
 
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
C notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit orderC notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit order
C notes by m v b reddy(gitam)imp notes all units notes 5 unit orderMalikireddy Bramhananda Reddy
 
BISH CS Modle Exit Exam.doc
BISH CS Modle Exit Exam.docBISH CS Modle Exit Exam.doc
BISH CS Modle Exit Exam.docAnimutGeremew3
 
Oop(object oriented programming)
Oop(object oriented programming)Oop(object oriented programming)
Oop(object oriented programming)geetika goyal
 
C# programming constructors
C# programming  constructorsC# programming  constructors
C# programming constructors성진 원
 
FP 301 OOP FINAL PAPER JUNE 2013
FP 301 OOP FINAL PAPER JUNE 2013FP 301 OOP FINAL PAPER JUNE 2013
FP 301 OOP FINAL PAPER JUNE 2013Syahriha Ruslan
 
SBI IT (Systems) Assistant Manager Question Paper
SBI IT (Systems) Assistant Manager Question PaperSBI IT (Systems) Assistant Manager Question Paper
SBI IT (Systems) Assistant Manager Question PaperHarish Rawat
 
S3 Data Processing Pre-Waec Examination (First Half)
S3 Data Processing Pre-Waec Examination (First Half)S3 Data Processing Pre-Waec Examination (First Half)
S3 Data Processing Pre-Waec Examination (First Half)Ejiro Ndifereke
 
classes object fgfhdfgfdgfgfgfgfdoop.pptx
classes object  fgfhdfgfdgfgfgfgfdoop.pptxclasses object  fgfhdfgfdgfgfgfgfdoop.pptx
classes object fgfhdfgfdgfgfgfgfdoop.pptxarjun431527
 

Similaire à OOM MCQ 2018 (20)

C++ questions
C++ questionsC++ questions
C++ questions
 
FP 301 OOP FINAL PAPER
FP 301 OOP FINAL PAPER FP 301 OOP FINAL PAPER
FP 301 OOP FINAL PAPER
 
Kality CS Model_Exit_Exams_with_answer - Copy (2).doc
Kality CS Model_Exit_Exams_with_answer - Copy (2).docKality CS Model_Exit_Exams_with_answer - Copy (2).doc
Kality CS Model_Exit_Exams_with_answer - Copy (2).doc
 
Java Programming.pdf
Java Programming.pdfJava Programming.pdf
Java Programming.pdf
 
Chapter 1 Introduction to Computers- Programs- and Java 1- A Java prog.pdf
Chapter 1 Introduction to Computers- Programs- and Java 1- A Java prog.pdfChapter 1 Introduction to Computers- Programs- and Java 1- A Java prog.pdf
Chapter 1 Introduction to Computers- Programs- and Java 1- A Java prog.pdf
 
Software Engineering Question Bank.docx
Software Engineering Question Bank.docxSoftware Engineering Question Bank.docx
Software Engineering Question Bank.docx
 
Oops ppt
Oops pptOops ppt
Oops ppt
 
Cis115 programming logic
Cis115 programming logicCis115 programming logic
Cis115 programming logic
 
17515
1751517515
17515
 
I assignmnt(oops)
I assignmnt(oops)I assignmnt(oops)
I assignmnt(oops)
 
C AND DATASTRUCTURES PREPARED BY M V B REDDY
C AND DATASTRUCTURES PREPARED BY M V B REDDYC AND DATASTRUCTURES PREPARED BY M V B REDDY
C AND DATASTRUCTURES PREPARED BY M V B REDDY
 
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
C notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit orderC notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit order
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
 
BISH CS Modle Exit Exam.doc
BISH CS Modle Exit Exam.docBISH CS Modle Exit Exam.doc
BISH CS Modle Exit Exam.doc
 
Oop(object oriented programming)
Oop(object oriented programming)Oop(object oriented programming)
Oop(object oriented programming)
 
C# programming constructors
C# programming  constructorsC# programming  constructors
C# programming constructors
 
FP 301 OOP FINAL PAPER JUNE 2013
FP 301 OOP FINAL PAPER JUNE 2013FP 301 OOP FINAL PAPER JUNE 2013
FP 301 OOP FINAL PAPER JUNE 2013
 
Android-Programming.pdf
Android-Programming.pdfAndroid-Programming.pdf
Android-Programming.pdf
 
SBI IT (Systems) Assistant Manager Question Paper
SBI IT (Systems) Assistant Manager Question PaperSBI IT (Systems) Assistant Manager Question Paper
SBI IT (Systems) Assistant Manager Question Paper
 
S3 Data Processing Pre-Waec Examination (First Half)
S3 Data Processing Pre-Waec Examination (First Half)S3 Data Processing Pre-Waec Examination (First Half)
S3 Data Processing Pre-Waec Examination (First Half)
 
classes object fgfhdfgfdgfgfgfgfdoop.pptx
classes object  fgfhdfgfdgfgfgfgfdoop.pptxclasses object  fgfhdfgfdgfgfgfgfdoop.pptx
classes object fgfhdfgfdgfgfgfgfdoop.pptx
 

Dernier

Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Presentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptxPresentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptxRosabel UA
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 

Dernier (20)

Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Presentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptxPresentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 

OOM MCQ 2018

  • 1. TGPCET NAGPUR INDIA OOS-MCQ for GATE-UPSC-NETQNS OOS MCQ 2018 Developed by Dr PL Pradhan, IT Dept, TGPCET, NAGPUR, Subject Teacher of OOM. 6/30/2018 Tulsiramji Gaikwad-Patil College of Engineering and Technology Wardha Road, Nagpur-441 108 NAAC Accredited Department of Information Technology OOS MCQ 2018 The Object oriented system developed by Dr Pradhan P L which will be helpful to GATE-UPSC-NET Exam for B Tech, M Tech CSE ,IT, BCA, MCA & MSc ( Computer Sc & IT )
  • 2. Developed by Dr PL Pradhan PL, IT Dept, TGPCET, NAGPUR, INDIA Subject Teacher of OOM. QNS.SN Description of Questions Answer 1. 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 Object Model 2. 2) Which of the following programming language are object oriented in nature a) Smalltalk and Simula b) FORTRAN and ALGOL c) C and Ada d) Perl and Python Smalltalk and Simula 3. 3) Callback is an operation provided by a) Inheritance b) Encapsulation c) Modularity d) Abstraction Abstraction 4. Inheritance is an example of which type of hierarchy a) Class Structure b) Object Structure c) Both d) None of the mentioned Class Structure 5. 7) Superclass represents ______________ abstractions a) Generalized abstractions b) Specialization abstractions c) Both d) None of the mentioned Generalized abstractions 6. 8) Subclass represents _______________ abstractions a) Generalized abstractions b) Specialization abstractions c) Both d) None of the mentioned Specialization abstractions 7. _____________ is the property that distinguishes an active object from one that is not active. a) Persistence b) Typing c) Aggregation d) Concurrency Concurrency 8. ) Which of the following property is associated with objects? a) State b) Behavior c) Identity All of the mentioned
  • 3. d) All of the mentioned 9. 2) 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 State 10. Which of the following object types are generally autonomous, meaning that they can exhibit some behavior without being operated upon by another object a) Passive b) Active c) Both a and b d) None of the mentioned Active 11. 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 Class 12. A ________ is a special member function whose task is to initialize the objects of its class. a) Constructor b) Destructor c) Selector d) Iterator Constructor 13. A subsystem is a system that functions as a component of another ________. A) system B) organization C) computer D) application System 14. Class is a set of objects that share the same ________. A) name B) state C) attributes and operations D) all of the above attributes and operations 15. The employee name is Richard Smith and he checks the inventory periodically." In this sentence, "Richard Smith" is the ________ of attribute "name" A) class object
  • 4. B) object C) value D) operation 16. ________ are deployed to model requirement gathering. A) Use cases B) UML C) SDLC D) Functional requirements Use cases 17. ________ specifies how the behavior of the system must be tailored to the level of its users' expertise. A) Reliability B) Testability C) Usability D) Maintainability Maintainability 18. Analysis process which involves analyzing and designing of system from an object-oriented programming is termed as  Object Analysis  Object Oriented Analysis  Overall Oriented Analysis  System Analysis Object Oriented Analysis 19. 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 analysis 20. In 1977, Apple Computer popularized phenomenon of A. Digital computing B. Personal computing C. Distributed computing D. Client/server computing Personal computing
  • 5. 21. Diagram which shows relationship between classes is termed as A. Class diagram B. sequential diagram C. use case diagram D. communication diagram Class diagram 22. Polymorphism is achieved by A. Operators B. Arrays C. Constructors D. Virtual function Virtual function 23. Diagram which shows how objects communicate with each other regarding a sequence of messages is called A. object diagram B. sequential diagram C. use case diagram D. communication diagram communication diagram 24. Programming language which sometimes called 'write once, run any where is A. Java B. Basic C. Pascal D. Ada Java 25. At Ericson, UML was developed by A. Grady Booch B. James Rumbaugh C. Ivar Jacobson D. Robert Lafore Ivar Jacobson
  • 6. 26. Programming language which uses both object-oriented programming and functional programming paradigms is A. Scala B. Ada C. Pascal D. Machine language Scala 27. A base class contains elements common to a group of A. parent classes B. derived classes C. sub classes D. variables derived classes 28. First object oriented language 'Smalltalk' were first appeared in A. 1972 B. 1982 C. 1992 D. 2000 1972 29. In object oriented programming there are two distinct views, one is consumer and second is manufacturer view, that consumer action are called A. Functions B. Operations C. Methods D. All of them Operations 30. How many operators are supported by C++? A. 30 operators B. 40 operators C. 45 operators D. 65 operators 40 operators
  • 7. 31. Gorden Moore was co-founder of A. Intel B. HP C. Dell D. Sony Intel 32. At Rational Software, UML were developed by A. Grady Booch B. James Rumbaugh C. Ivar Jacobson D. Robert Lafore Grady Booch 33. A procedure for solving a problem in terms of actions and their order, is called as A. Program instructions B. Algorithm C. Template D. All of them Algorithm 34. Many companies find that being able to reuse classes on a second project provides original programming investment A. decrease return B. increase return C. no return D. infinite return increase return 35. Procedural language contains systematic order of A. statements B. objects C. classes D. operations statements
  • 8. 36. Rectangle symbol in flowchart is called as A. Action symbol B. Terminating symbol C. Begin symbol D. Connector symbol Action symbol 37. Complex real object contains A. attributes B. variables C. constants D. strings attributes 38. Member function will access data and return value to user when it is A. called B. declared C. initialized D. deleted called 39. Android operating system was acquired by Google in A. 2002 B. 2004 C. 2005 D. 2007 2004 40. When an object goes out of scope, which function is called automatically? A. Constructor B. Destructor C. Inline D. End of line Destructor
  • 9. 41. 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 SmallTalk 42. Today's fastest growing mobile phone operating system is A. Apple's IOS B. Google's Android C. Mac OS X D. Black berry OS Google's Android 43. C++ systems consists of A. Environment B. The Language C. The standard libraries D. All of them All of them 44. In an economical model, physical object is A. economics B. transport C. probability D. country country 45. In C++, original class is called A. base class B. derived class C. sub class D. object base class
  • 10. 46. Mobile operating system is A. Linux B. Windows 10 C. Mac OS X D. Black berry OS Black berry OS 47. Provision of a single interface to entities of different types is termed as A. polymorphism B. dimorphism C. trimorphisim D. automorphism polymorphism 48. Data in an object oriented language is safe from accidental alternation as it is A. buged B. compressed C. hidden D. error free hidden 49. FORTRAN was developed by A. Macintosh B. Microsoft C. IBM D. None of them IBM 50. If we want to read a data item in an object, member function in an object is A. call B. declare C. initialize D. delete call
  • 11. 51. There are how many ways to use existing classes to define a new class? A. 1 B. 2 C. 3 D. 4 2 52. Data encapsulation and data hiding are key features of A. procedural language B. machine language C. structural language D. object oriented language object oriented language 53. When a data member of new class is an object of another class, it is called as A. New class is a composite of other objects B. New class is inherited C. New class is aggregate of another D. None of them New class is a composite of other objects 54. Which of following language designed mainly for object oriented programming, but with some procedural elements? A. Java B. PHP C. Visual Basic D. Matlab Java 55. UML language is helpful in developing A. software systems B. hardware systems C. control systems D. instrumental systems software systems
  • 12. 56. First version of UML was released in A. 1980s B. 1991 C. 1996 D. 2000 1996 57. We can define a new class from an existing class, by using A. Inheritance B. Composition C. Constructors D. Both A and B Both A and B 58. Object oriented language has single unit which combines A. data and function B. data and constant C. function and simulation D. string and character data and function 59. If a class wants to allow clients to read private data, class can provide a A. Get function B. Set function C. Allow function D. Both A and B Both A and B 60. A. Wrapping of private data in classes in object-oriented programming languages is termed as: B. data encapsulation C. data declaration D. data initialization E. data deletion data encapsulation
  • 13. 61. C++ allows objects of different types to respond differently to same function call, is called A. Inheritance B. Encapsulation C. Polymorphism D. None of them Polymorphism 62. At General Electric, UML were developed by A. Grady Booch B. James Rumbaugh C. Ivar Jacobson D. Robert Lafore James Rumbaugh 63. A UML diagram that facilitates requirements gathering and interacts between system and external users, is called as A. Flowchart diagram B. Sequence diagram C. Use case diagram D. Data flow diagram Use case diagram 64. In programming, reusable code is use of similar code in A. single function B. two functions C. multiple functions D. can't use similar code multiple functions 65. n Smalltalk language, object functions are named as A. member functions B. methods C. local functions D. linear functions methods
  • 14. 66. Composition is often referred as "has-a" relation, whereas inheritance is referred as A. with-relation B. is-a relationship C. to-a relationship D. None of them is-a relationship 67. Diagram which describes how a software system is split up into components and shows dependencies among these components A. object diagram B. component diagram C. use case diagram D. communication diagram component diagram 68. Overloading is kind of A. polymorphism B. dimorphism C. trimorphisim D. automorphism polymorphism 69. Sending a message to object is referred to as A. calling object B. declaring object C. sending object D. initializing object calling object 70. Object provides an approach to program organization by helping to A. delete program's data B. maintain program's data C. send program's data D. initialize program's data maintain program's data
  • 15. 71. As functions do in procedural program, inheritance element shortens an A. object oriented program B. machine program C. procedural program D. structural program object oriented program 72. Attributes are also known as A. characteristics B. behavior C. constants D. loops characteristics 73. Analysis process which involves analyzing and designing of system from an object-oriented programming is termed as A. Object Analysis B. Object Oriented Analysis C. Overall Oriented Analysis D. System Analysis Object Oriented Analysis 74. One object oriented class can become parent of several A. objects B. sub classes C. sub objects D. variables sub classes 75. Three separate modeling languages of UML were known as A. three UML B. three amigos C. three objects D. three class three class
  • 16. 76. Complex real object must have some particular movement, referred to as A. behavior B. variables C. constants D. strings behavior 77. In object oriented language, program is divided into A. objects B. functions C. data D. loops objects 78. Objects are members of A. classes B. functions C. variables D. data classes 79. Data and function in object oriented programming is encapsulated into A. single unit B. two different units C. global data D. local data single unit 80. A class that have no pure virtual member functions, are called A. Polymorphic class B. Concrete class C. Base class D. Abstract class Concrete class
  • 17. 81. IPods, iPhones and iPads programming is based on A. Objective C B. Basic C. Pascal D. Ada Objective C 82. When a class serves as base class for many derived classes, the situation is called: polymorphism 1. hierarchical inheritance 2. hybrid inheritance 3. multipath inheritance 4. none of these hierarchical inheritance 83. When two or more classes serve as base class for a derived class, the situation is known as __________. multiple inheritance 1. polymorphism 2. encapsulation 3. hierarchical inheritance 4. none of these multiple inheritance 84. Multiple inheritance leaves room for a derived class to have _______ members. dynamic 1. private 2. public 3. ambiguous 4. none of these 5. ambiguous 85. 1. Hybrid inheritance is ___________. 1. multiple inheritance 2. multilevel inheritance 3. multipath inheritance ... multiple inheritance 6.
  • 18. 86. Overloading is otherwise called as A . virtual polymorphism B.transient polymorphism C . pseudo polymorphism D . ad-hoc polymorphism 2. ad-hoc polymorphism 7. 87. Which of the following cannot be declared static? A . Class B.Object C . Functions D . Both (a) & (b) 3. D . Both (a) & (b) 8. 88. A class may A . not have friends B.have one friend C . have one friend function and one friend class D . have any number of friends have any number of friends 89. Data hiding is used to create A . inline functions B.private class members C . nonscalar type D . cryptic code private class members 90. Friendship may be granted to A.no member functions of other classes B.one member function from one other class C.one member function each from as many classes as appropriate D.as many member functions of other classes as appropriate. as many member functions of other classes as appropriate
  • 19. 91. 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 Object- Oriented Design 92. 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. Classes and objects 93. The essential characteristics of an object that distinguish it from all other kinds of objects and thus provide crisply defined conceptual boundaries, relative to the perspective of the viewer is called: a) Encapsulation b) Modularity c) Hierarchy d) Abstraction Abstraction 94. Abstraction is classified into _______ types a) 4 b) 3 c) 2 d) 1 4 95. he 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 Encapsulation 96. Single inheritance, Multiple inheritance, and Aggregation comes under _______ a) Modularity b) Typing c) Hierarchy d) None of the mentioned Hierarchy 97. In which of the following mechanisms, types of all variables and expressions are fixed at compilation time. a) Strong Typing b) Weak Typing c) Static Binding/ early binding d) Dynamic Binding/ late binding Static Binding/ early binding
  • 20. 98. In which of the following mechanisms, types of all variables and expressions are not known until runtime a) Strong Typing b) Weak Typing c) Static Binding/ early binding d) Dynamic Binding/ late binding Dynamic Binding/ late binding 99. 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 Polymorphism 100. 1) Which of the following property is associated with objects? a) State b) Behavior c) Identity d) All of the mentioned All of the mentioned 101. 2) 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 State 102. 5) 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 Class 103. A ________ is a special member function whose task is to initialize the objects of its class. a) Constructor b) Destructor c) Selector d) Iterator Constructor 104. 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 Reduce Complexity 105. 2. Which of the following mechanisms is/are provided by Object Oriented Language to implement Object Oriented Model? All of the mentioned
  • 21. a) Encapsulation b) Inheritance c) Polymorphism d) All of the mentioned 106. 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 ) Binds together code and data 107. What is ‘Basis of Encapsulation’? a) object b) class c) method d) all of the mentioned d) all of the mentioned 108. 5. How will a class protect the code inside it? a) Using Access specifiers b) Abstraction c) Use of Inheritance d) All of the mentioned Using Access specifiers 109. Which of the following is a mechanism by which object acquires the properties of another object? a) Encapsulation b) Abstraction c) Inheritance d) Polymorphism Inheritance 110. . Which of the following supports the concept of hierarchical classification? a) Polymorphism b) Encapsulation c) Abstraction d) Inheritance Inheritance 111. . 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 extends 112. Which of the following concept is often expressed by the phrase, ‘One interface, multiple methods’? a) Abstraction b) Polymorphism c) Inheritance d) Encapsulation Polymorphism
  • 22. 113. Which is not one of the model of OMT? Options - dynamic - static - functional - none functional 114. UML stands for - Options - Universal Modeling Language - Unified Modelling Language - Universal Modelling Language - Unified Modelling Language Unified Modelling Language 115. UML is not a language for - Options - visualization - documentation - simplification - construction simplification 116. Structural things are identified by __________________ of UML models. Options - nouns - classes - objects - entities nouns 117. Which doesn’t represent a relationship in UML - Dependency - Generalization - Specification - Realization Specification 118. There are generally ________ diagrams used in UML. Options - seven - eight - nine nine
  • 23. - ten 119. Interaction diagrams are - Options - Sequence Diagram - Collaboration Diagram - both a and b - none both a and b 120. When a class serves as base class for many derived classes, the situation is called: polymorphism 1. hierarchical inheritance 2. hybrid inheritance 3. multipath inheritance 4. hierarchical inheritance 121. When two or more classes serve as base class for a derived class, the situation is known as __________. multiple inheritance 1. polymorphism 2. encapsulation 3. hierarchical inheritance 4. none of these multiple inheritance 5. 122. What type of relationship is represented by Shape class and Square ? Realization Generalization Aggregation Dependency Realization 123. The class diagram, component diagram, object diagram and deployment diagram are considered as types of structural diagrams behavioral diagrams non-behavioral diagrams non structural diagrams structural diagrams 124. he weak entities are represented in UML diagrams by using aggregations called qualified segregation non-qualified segregation non-qualified aggregation qualified aggregation qualified aggregation 125. In UML diagrams, the relationship between the object and component parts is represented by Coordination aggregation segregation increment aggregation
  • 24. 126. Dynamic models are used to define the … of components overtime. Behavior,Strategy,Condition,Other Behavior 127. Object Oriented Programming is characterized by using encapsulation inheritance. polymorphism. all of the above. all of the above. 128. .An attribute is a data item held by which of the following ? a) Class b) Object c) All of the mentioned d) None of the mentioned All of the mentioned 129. An operation can be described as? a) Object behavior b) Class behavior c) Functions d) Object & Class behavior Object & Class behavior 130. Which of these are the heuristics ? a) Name classes, attributes, and roles with noun phrases b) Name operations and associations with verb phrases c) Stick to binary associations d) All of the mentioned All of the mentioned
  • 25. A class that takes data pertaining to a business event and translates the data for appropriate presentation to the user would be a(n):- A) system class- B) interface class- C) persistence class- D) control class E) entity class- ---2 INCORRECT Which of the following is(are) the UML level of visibility? A) persistent- B) public- C) protected- D) both (b) and (c)- E) both (a) and (b) and (c) ---3 INCORRECT A class that contains business-related information and implements the analysis classes is a(n):- A) interface class B) control class- C) entity class- D) object-oriented class- E) none of the above- --4 INCORRECT For which level of visibility, the attributes of an object can be accessed and methods can be invoked by any other methods in any other class? (check)- A) protected- B) unprotected C) private- D) public- E) persistence- -
  • 26. -5 INCORRECT A customer class in a sales system would be an example of a(n):- A) interface class- B) entity class- C) control class D) system class- E) persistence class- -- 6 INCORRECT Which of the following is NOT a tool that can be used for discovering class behaviors and responsibilities?- A) interface diagram- B) class diagram- C) CRC card- D) sequence diagram E) none of the above- ---7 INCORRECT Which diagram depicts classes that correspond to software components that are used to build the software application? A) state transition- B) design class- C) state machine- D) sequence- E) none of the above ---8 INCORRECT Which of the following is the last step in modeling class interactions, behaviors, and states that support the use-case scenarios?- A) transforming the “analysis” use cases to “design” use cases B) identifying class behaviors and responsibilities- C) identifying class attributes- D) identifying and classifying use-case design classes- E) model object states- --9 INCORRECT Which of the following is not included on a design class diagram?- A) methods with parameters- B) dependencies C) cla sses D) entities E) na vigability 10 CORRECT Which diagram models the life
  • 27. cycle of a single object? A) visi bility diagram B) sta te transition C) se quence D) state machine E) no ne of the above