GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Well-structured Std 12 Computer Textbook MCQ Answers and Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts can serve as a valuable review tool before computer exams.

GSEB Std 12 Computer Chapter 6 MCQ Object-Oriented Concepts

Question 1.
At present we are in living in the era of ……………. .
(A) internet
(B) website
(C) web based process
(D) all of these
Answer:
(D) all of these

Question 2.
……………… has much importance in the current era.
(A) Rapid development of applications
(B) Reuse of source code
(C) (A) and (B) both
(D) None of these
Answer:
(C) (A) and (B) both

Question 3.
Which object oriented method plays an important role in various software systems ?
(A) Analysis
(B) Design
(C) Execution
(D) All of these
Answer:
(D) All of these

Question 4.
Which method plays an important role in various software systems ?
(A) Object oriented method
(B) Procedural method
(C) (A) and (B) both
(D) None of these
Answer:
(A) Object oriented method

Question 5.
How are the softwares prepared through object oriented method ?
(A) Trustworthy
(B) Development work is done rapidly
(C) Easier to modify and reuse
(D) All of these
Answer:
(D) All of these

Question 6.
Which is the object oriented programming language ?
(A) Oracle
(B) Java
(C) Publisher
(D) HTML
Answer:
(B) Java

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 7.
Java programming follows …………… .
(A) object oriented method
(B) procedural method
(C) (A) and (B) both
(D) none of these
Answer:
(A) object oriented method

Question 8.
Java programming language was developed in ………….. .
(A) 1950 A.D.
(B) 1960 A.D.
(C) 1970 A.D.
(D) 1980 A.D.
Answer:
(B) 1960 A.D.

Question 9.
Since ……………….., object oriented programming became the main paradigm to create new
software.
(A) Mid 1960s
(B) Mid 1970s
(C) Mid 1980s
(D) Mid 1990s
Answer:
(C) Mid 1980s

Question 10.
Object oriented programming was developed due to ……………….. .
(A) rapidly increasing size of system software
(B) to handle complexity of system software
(C) to make it easier to modify large and complex systems
(D) all of these
Answer:
(D) all of these

Question 11.
…………… follows the object oriented programming.
(A) C, C++, C#
(B) Java, PHP
(C) VB.net, ASPnet,
(D) All of these
Answer:
(D) All of these

Question 12.
Programming way is divided into ……………. categories.
(A) 2
(B) 3
(C) 4
(D) 5
Answer:
(A) 2

Question 13.
The way of programming is ………………. .
(A) structure/procedural programming
(B) object based programming
(C) (A) and (B) both
(D) none of these
Answer:
(C) (A) and (B) both

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 14.
In …………………, the focus is on functions which operate on the data.
(A) structure /procedural programming
(B) object based programming
(C) (A) and (B) both
(D) none of these
Answer:
(A) structure /procedural programming

Question 15.
In …………………, the focus is on objects which contain both data and functionality together.
(A) structure/procedural programming
(B) object based programming
(C) (A) and (B) both
(D) none of these
Answer:
(B) object based programming

Question 16.
Objects contain ………… .
(A) data
(B) functionality
(C) (A) and (B) both
(D) none of these
Answer:
(C) (A) and (B) both

Question 17.
Object oriented programming plays an important role in ………………. of system software.
(A) analysis
(B) design
(C) execution
(D) all of these
Answer:
(D) all of these

Question 18.
Focus is on in ……………….. object oriented programming.
(A) object
(B) class
(C) property
(D) function
Answer:
(A) object

Question 19.
………………. is includedin object oriented programming.
(A) Data
(B) Functionality
(C) (A) and (B) both
(D) None of these
Answer:
(C) (A) and (B) both

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 20.
The power of object oriented programming enables the programmer to create ………………… .
(A) modular programs
(B) reusable programs
(C) extendable code
(D) all of these
Answer:
(D) all of these

Question 21.
In ……………, programmer can formulate a program by modification of existing modules.
(A) structure/procedural programming
(B) object based programming
(C) (A) and (B) both
(D) none of these
Answer:
(B) object based programming

Question 22.
……………….. is gained by changing or replacing modules without disturbing other parts of code.
(A) Flexibility
(B) Abstraction
(C) Encapsulation
(D) Polymorphism
Answer:
(A) Flexibility

Question 23.
When can we get software development speed ?
(A) Reusing the existing code
(B) Modifying the existing code
(C) (A) and (B) both
(D) None of these
Answer:
(C) (A) and (B) both

Question 24.
…………….. is the base for object based programming.
(A) Class
(B) Object
(C) Function
(D) Attribute
Answer:
(B) Object

Question 25.
Similar objects are classified using a concept of ……………. .
(A) Function
(B) Method
(C) Attribute
(D) Class
Answer:
(D) Class

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 26.
Object based programming provides ………………. types of object properties.
(A) 3
(B) 4
(C) 5
(D) 6
Answer:
(B) 4

Question 27.
What are the properties of object oriented programming ?
(A) Abstraction, Encapsulation
(B) Polymorphism, Inheritance
(C) (A) and (B) both
(D) None of these
Answer:
(C) (A) and (B) both

Question 28.
In real world, …………………., are the entities of which the
world is comprised.
(A) classes
(B) objects
(C) functions
(D) attributes
Answer:
(B) objects

Question 29.
Objects exist in …………….. form.
(A) 2
(B) 3
(C) 4
(D) 5
Answer:
(A) 2

Question 30.
Objects exist …………………. in form.
(A) physical
(B) abstract
(C) (A) and (B) both
(D) none of these
Answer:
(C) (A) and (B) both

Question 31.
The objects that we can see and touch are called ………………… objects.
(A) physical/concrete objects
(B) abstract objects
(C) (A) and (B) both
(D) none of these
Answer:
(A) physical/concrete objects

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 32.
……………….. is the example of concrete object.
(A) Person
(B) Car
(C) Computer
(D) All of these
Answer:
(D) All of these

Question 33.
The objects that we can’t see and touch are called ………………… objects.
(A) physical/concrete objects
(B) abstract objects
(C) (A) and (B) both
(D) none of these
Answer:
(B) abstract objects

Question 34.
………………. is the example of abstract object.
(A) Concepts like date and time
(B) Persons, cars, computers
(C) (A) and (B) both
(D) None of these
Answer:
(A) Concepts like date and time

Question 35.
……………. is true about objects.
(A) Objects have unique identity
(B) Objects are distinguishable
(C) (A) and (B) both
(D) None of these
Answer:
(C) (A) and (B) both

Question 36.
………………. is the property of a person.
(A) Name and caste
(B) Birthdates and birthplace
(C) City and profession
(D) All of these
Answer:
(D) All of these

Question 37.
In object oriented programming the characteristics are called ………………. .
(A) properties
(B) attributes
(C) (A) or (B)
(D) method
Answer:
(C) (A) or (B)

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 38.
To distinguish one person from another ……………… is used.
(A) property
(B) function
(C) method
(D) class
Answer:
(A) property

Question 39.
The value of attribute used to identify the object is called …………… .
(A) method
(B) state
(C) class
(D) function
Answer:
(B) state

Question 40.
……………. is very useful to distinguish objects.
(A) Function
(B) Class
(C) Method
(D) State
Answer:
(D) State

Question 41.
…………………. is connected to object.
(A) Behavior
(B) Function
(C) Class
(D) State
Answer:
(A) Behavior

Question 42.
……………. defines the behavior.
(A) Person takes birth
(B) Person gets name
(C) Person changes location
(D) All of these
Answer:
(D) All of these

Question 43.
Behavior is called ……………. .
(A) function
(B) class
(C) method
(D) state
Answer:
(C) method

Question 44.
The value of object changes due to ……………… .
(A) behavior
(B) function
(C) class
(D) state
Answer:
(A) behavior

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 45.
In real world, object can be explained through ……………… things.
(A) 2
(B) 3
(C) 4
(D) 5
Answer:
(B) 3

Question 46.
In real world, object can be explained with ………………. .
(A) identity
(B) state
(C) behavior
(D) all of these
Answer:
(D) all of these

Question 47.
The name by which object is introduced is …………….. .
(A) identity
(B) behavior
(C) state
(D) none of these
Answer:
(A) identity

Question 48.
What the object is, it is called ………………… .
(A) identity
(B) behavior
(C) state
(D) none of these
Answer:
(C) state

Question 49.
In object oriented programming, the characteristics explaining the objects are called ……………… .
(A) data base
(B) data field
(C) data property
(D) data objects
Answer:
(B) data field

Question 50.
What are the characteristics explaining the object in object oriented programming ?
(A) Members
(B) Features
(C) (A) or (B)
(D) None of these
Answer:
(C) (A) or (B)

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 51.
What type of object should be selected while creating the software application ?
(A) Meaningful
(B) Similar
(C) Special
(D) All of these
Answer:
(A) Meaningful

Question 52.
………………… is the proper object for railway reservation application.
(A) Trains and stations
(B) Traveling
(C) Ticket
(D) All of these
Answer:
(D) All of these

Question 53.
………….. is the not proper object for railway reservation application.
(A) Trains and stations, Traveling, Ticket
(B) Cars, computers, watches
(C) (A) and (B) both
(D) None of these
Answer:
(B) Cars, computers, watches

Question 54.
…………….. can be similar related to object.
(A) Attribute
(B) Behavior
(C) State
(D) (A) and (B)
Answer:
(D) (A) and (B)

Question 55.
In what does object differ ?
(A) State
(B) Value of data
(C) (A) or (B)
(D) Properties
Answer:
(C) (A) or (B)

Question 56.
Object oriented programming uses the concept of …………… .
(A) class
(B) object
(C) function
(D) attribute
Answer:
(A) class

Question 57.
…………………. is used to define common characteristic of object.
(A) Method
(B) Attribute
(C) Class
(D) Function
Answer:
(C) Class

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 58.
……………… has the concept of class that enables the set of objects that are abstractly equivalent, differing only in the values of their attributes.
(A) Object oriented programming
(B) Object based programming
(C) (A) and (B) both
(D) None of these
Answer:
(B) Object based programming

Question 59.
Class is considered as a ……………. for various objects.
(A) blueprint
(B) map
(C) graph
(D) (A) or (B)
Answer:
(D) (A) or (B)

Question 60.
…………….. is a template for multiple objects with similar features.
(A) Class
(B) Method
(C) Function
(D) Attribute
Answer:
(A) Class

Question 61.
………………. is the group of objects with similar attributes and common behavior.
(A) Method
(B) Attribute
(C) Class
(D) Function
Answer:
(C) Class

Question 62.
……………. is a general concept used to embody all the common features of a particular set of objects.
(A) Class
(B) Method
(C) Function
(D) Attribute
Answer:
(A) Class

Question 63.
How is the semantic purpose for different objects of a single class ?
(A) Different
(B) Same
(C) Sometimes same sometimes different
(D) Can’t say
Answer:
(B) Same

Question 64.
……………… is the general concept for grouping the common characteristics of objects.
(A) Method
(B) Attribute
(C) Class
(D) Function
Answer:
(C) Class

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 65.
…………….. represents the class diagram.
(A) Group of many classes
(B) Constraints
(C) Relationships among classes
(D) All of these
Answer:
(D) All of these

Question 66.
…………….. can be used to create models of object oriented programming software.
(A) UML
(B) ULM
(C) UNL
(D) ULN
Answer:
(A) UML

Question 67.
UML stands for ………………… .
(A) Universal Modeling Language
(B) Unified Modeling Language
(C) United Modeling Language
(D) User Modeling Language
Answer:
(B) Unified Modeling Language

Question 68.
For ………………, UML is useful.
(A) to make models of OOP softwares
(B) to create models of softwares
(C) to design the application software
(D) all of these
Answer:
(D) all of these

Question 69.
UML is a ……………….. modeling language of type.
(A) visible
(B) visual
(C) virtual
(D) all of these
Answer:
(B) visual

Question 70.
UML is defined by …………… .
(A) OMG
(B) OGM
(C) ONG
(D) OGN
Answer:
(A) OMG

Question 71.
OMG stands for …………….. .
(A) Object Multimedia Group
(B) Object Media Group
(C) Object Management Group
(D) Object Multilevel Group
Answer:
(C) Object Management Group

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 72.
UML is a maintained by ……………… .
(A) Object Multimedia Group
(B) Object Media Group
(C) Object Management Group
(D) Object Multilevel Group
Answer:
(C) Object Management Group

Question 73.
UML specifies ………………. for representing different aspects of a software application.
(A) Graphs
(B) Figures
(C) Maps
(D) Creations
Answer:
(B) Figures

Question 74.
The purpose of ……………… is to model the static view of an application.
(A) class diagram
(B) object diagram
(C) function diagram
(D) graph diagram
Answer:
(A) class diagram

Question 75.
What is class diagram ?
(A) Diagrams which are mapped
(B) Points
(C) Objects
(D) Graphs
Answer:
(A) Diagrams which are mapped

Question 76.
Class diagram can be directly connected to ………………. .
(A) languages except object
(B) object oriented programming
(C) (A) and (B) both
(D) none of these
Answer:
(B) object oriented programming

Question 77.
Class diagram is used widely by ……………. .
(A) software developers
(B) hardware developers
(C) (A) and (B) both
(D) none of these
Answer:
(A) software developers

Question 78.
In a class diagram, a class is represented with an icon using a rectangle split into …………………. sections.
(A) 2
(B) 3
(C) 4
(D) 5
Answer:
(B) 3

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 79.
In a class diagram, a class is represented with an icon using a rectangle split into ………………… sections.
(A) name
(B) attribute
(C) behavior
(D) all of these
Answer:
(D) all of these

Question 80.
…………… is the top section in class diagram.
(A) Class Name
(B) Behavior/Operation/Method
(C) Attribute/Property
(D) Any of these
Answer:
(A) Class Name

Question 81.
……………. is the middle section in class diagram.
(A) Class Name
(B) Behavior/Operation/Method
(C) Attribute/Property
(D) Any of these
Answer:
(C) Attribute/Property

Question 82.
……………. is the bottom section in class diagram.
(A) Class Name
(B) Behavior/Operation/Method
(C) Attribute/Property
(D) Any of these
Answer:
(B) Behavior/Operation/Method

Question 83.
Behavior, attribute and name are respectively in ……………….. section of class diagram.
(A) top, middle, bottom
(B) middle, top, bottom
(C) top, bottom, middle
(D) bottom, middle, top
Answer:
(D) bottom, middle, top

Question 84.
The following figure represents ……………. .

Class Name
Visibility attribute: data type = initial value
Visibility operation (argument list): return type

(A) UML conventional class
(B) Composition
(C) Aggregation
(D) Inheritance
Answer:
(A) UML conventional class

Question 85.
UML notation has ………….. syntax.
(A) [ <visibility> ] <attribute name> [: (attribute data type) [= <initial value ] ]
(B) [ <visibility> ] <attribute name> [: {attribute data type} [= <initial value ] ]
(C) [ <visibility> ] <attribute name> [: <attribute data type> [= <initial value ] ]
(D) [ <visibility> ] <attribute name> [: [attribute data type] [= <initial value ] ]
Answer:
(C) [ <visibility> ] <attribute name> [: <attribute data type> [= <initial value ] ]

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 86.
In the notation of UML like [ <visibility> ] <attribute name> [: <attribute data type> [= <initial value ] ], what is optional part ?
(A) < >
(B) [ ]
(C) (A) and (B) both
(D) All are compulsory
Answer:
(B) [ ]

Question 87.
In the notation of UML like [ <visibility> ] <attribute name> [: <attribute data type> [= <initial value ] ], what is compulsory part ?
(A) < >
(B) [ ]
(C) (A) and (B) both
(D) All are compulsory
Answer:
(A) < >

Question 88.
As per how many visibilities the UML notation can be written ?
(A) 3
(B) 4
(C) 5
(D) 6
Answer:
(B) 4

Question 89.
What are the visibilities symbols in UML ?
(A) + and –
(B) #
(C) ~
(D) All of these
Answer:
(D) All of these

Question 90.
In UML notation the symbols -, #, + and ~ are respectively for ………………. visibility in sequence.
(A) protected, private, public, package
(B) private, protected, package, public
(C) private, protected, public, package
(D) package, private, protected, public
Answer:
(C) private, protected, public, package

Question 91.
……………. symbol is for private visibility.
(A) –
(B) +
(C) #
(D) ~
Answer:
(A) –

Question 92.
……………. symbol is for protected visibility.
(A) –
(B) +
(C) #
(D) ~
Answer:
(C) #

Question 93.
………….. symbol is for public visibility.
(A) –
(B) +
(C) #
(D) –
Answer:
(B) +

Question 94.
……………. symbol is for package visibility.
(A) –
(B) +
(C) #
(D) ~
Answer:
(D) ~

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 95.
Normally attribute indicates ………………. .
(A) variable
(B) constant
(C) function
(D) method
Answer:
(A) variable

Question 96.
What do data type and its initial value indicate ?
(A) What type of data is stored in the beginning of program
(B) What is its value in the program
(C) (A) and (B) both
(D) None of these
Answer:
(C) (A) and (B) both

Question 97.
…………… is compulsory in UML notation.
(A) [ <visibility> ]
(B) [: <attribute data typo [= <initial value ] ]
(C) <attribute name>
(D) (A) and (B) both
Answer:
(C) <attribute name>

Question 98.
……………… is optional in UML notation.
(A) [ <visibility> ]
(B) [: <attribute data typo [= <initial value ] ]
(C) <attribute name>
(D) (A) and (B) both
Answer:
(D) (A) and (B) both

Question 99.
……………… shows the way to define an attribute.
(A) name : string
(B) – balance : float = 0.0
(C) (A) and (B) both
(D) None of these
Answer:
(C) (A) and (B) both

Question 100.
Using ……………. syntax, any task can be defined in UML.
(A) [< visibility^ (method name) (parameter list separated by comma) : <return data type
(B) [< visibility>] cmethod name (parameter list separated by comma) : <return data type
(C) [< visibility^ [method name] (parameter list separated by comma) : <return data type
(D) [< visibility^ {method name} (parameter list separated by comma) : <return data type
Answer:
(B) [< visibility>] cmethod name (parameter list separated by comma) : <return data type

Question 101.
………….. shows the example of method.
(A) setBirthdate ( d:int, m:int, y:int ) : date
(B) setBirthdate [ d:int, m:int, y:int ] : date
(C) setBirthdate < d:int, m:int, y:int > : date
(D) setBirthdate { d:int, m:int, y:int } : date
Answer:
(A) setBirthdate ( d:int, m:int, y:int ) : date

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 102.
Parameters can be specified as …………….. depending on whether it is read only or not.
(A) input
(B) output
(C) (A) or (B)
(D) none of these
Answer:
(C) (A) or (B)

Question 103.
UML diagrams are independent of the programming language used for coding an application.
Choose the appropriate option.
(A) True
(B) False
(C) Can’t say
(D) None of these
Answer:
(A) True

Question 104.
Some software developers prefer to specify attributes and operations in the ………………… of a programming language instead of using UML notation.
(A) less familiar format
(B) more familiar format
(C) less popular format
(D) more popular format
Answer:
(B) more familiar format

Question 105.
In UML notation object is represented using ………………. .
(A) property
(B) method
(C) attribute
(D) state
Answer:
(D) state

Question 106.
Objects differ in their ……………. .
(A) state
(B) attribute
(C) method
(D) property
Answer:
(A) state

Question 107.
Any object is of ……………… type.
(A) variable
(B) dynamic
(C) (A) or (B)
(D) none of these
Answer:
(C) (A) or (B)

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 108.
Any computer program has main ………………. elements.
(A) 2
(B) 3
(C) 4
(D) 5
Answer:
(A) 2

Question 109.
……………… option shows the basic element of a computer program.
(A) Data
(B) Method
(C) (A) and (B) Both
(D) None of these
Answer:
(C) (A) and (B) Both

Question 110.
In the structured programming data and method are called ……………….. elements.
(A) same
(B) different
(C) symbolic
(D) special
Answer:
(B) different

Question 111.
In the object oriented programming data and method are called ………………. elements.
(A) same
(B) special
(C) different
(D) symbolic
Answer:
(A) same

Question 112.
In any part of structured programming, value of data is ……………….. .
(A) it can be changed.
(B) it is not protected from modification
(C) (A) and (B) both
(D) none of these
Answer:
(C) (A) and (B) both

Question 113.
In any part of structured programming, value of data can be changed, it is not protected from modification. What is the solution from this ?
(A) Data abstraction
(B) Encapsulation
(C) Composition
(D) Aggregation
Answer:
(B) Encapsulation

Question 114.
In ………………, data and methods that manipulate data are guarded against modification.
(A) composition
(B) aggregation
(C) data abstraction
(D) encapsulation
Answer:
(D) encapsulation

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 115.
The mechanism of providing protection to data and methods is called …………….. .
(A) data abstraction
(B) encapsulation
(C) composition
(D) aggregation
Answer:
(B) encapsulation

Question 116.
How the Encapsulation makes the data protected ?
(A) Stopping the data coming from outside the program
(B) Stopping the data coming from inside the program
(C) Stopping the result coming from outside the program
(D) Stopping the result coming from inside the program
Answer:
(A) Stopping the data coming from outside the program

Question 117.
……………. provides security to the data.
(A) Composition
(B) Aggregation
(C) Data abstraction
(D) Encapsulation
Answer:
(D) Encapsulation

Question 118.
Single unit created by wrapping up data and methods is called ………………. .
(A) attribute
(B) class
(C) object
(D) property
Answer:
(B) class

Question 119.
Encapsulation is possible by declaring the class as ……………. .
(A) private
(B) public
(C) optional
(D) special
Answer:
(A) private

Question 120.
In data Encapsulation, private members of the class are not available directly to outside world. Choose the appropriate option.
(A) True
(B) False
(C) Can’t say
(D) None of these
Answer:
(B) False

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 121.
If necessary, the data is made available via ……………….. methods.
(A) public
(B) personal
(C) database
(D) secured
Answer:
(A) public

Question 122.
Encapsulation provides ……………. capability.
(A) Data modifying
(B) Data formatting
(C) Data deleting
(D) Data hiding
Answer:
(D) Data hiding

Question 123.
…………….. is used for sharing of information.
(A) Object oriented programming
(B) Procedural programming
(C) (A) and (B) both
(D) None of these
Answer:
(B) Procedural programming

Question 124.
…………….. programming discourages direct access to common data for other programs.
(A) Object oriented programming
(B) Procedural programming
(C) (A) and (B) both
(D) None of these
Answer:
(A) Object oriented programming

Question 125.
What is possible in object oriented programming ?
(A) Other object can see the data
(B) Object can send to the owner data after changing it
(C) (A) and (B) both
(D) None of these
Answer:
(C) (A) and (B) both

Question 126.
……………….. is a special process of representing the essential features of the objects without including implementation detail.
(A) Data abstraction
(B) Encapsulation
(C) Composition
(D) Aggregation
Answer:
(A) Data abstraction

Question 127.
How to understand Data abstraction ?
(A) It hides the complexity
(B) It says what it does
(C) It doesn’t say how it is done.
(D) All of these
Answer:
(D) All of these

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 128.
……………. makes the data protected by keeping the exaction information secret.
(A) Data abstraction
(B) Encapsulation
(C) Composition
(D) Aggregation
Answer:
(A) Data abstraction

Question 129.
…………….. is possible through data abstraction.
(A) Protection of data
(B) Hiding of data
(C) Hiding the execution of data
(D) All of these
Answer:
(D) All of these

Question 130.
Data abstraction is a …………….. type of technique.
(A) separation of interface and implementation
(B) modification of interface and implementation
(C) deletion of interface and implementation
(D) execution of interface and implementation
Answer:
(A) separation of interface and implementation

Question 131.
What does data abstraction provide ?
(A) Layout
(B) Skeleton
(C) Templates
(D) All of these
Answer:
(D) All of these

Question 132.
………….. hides the certain details of how data is stored, created and maintained.
(A) Data abstraction
(B) Encapsulation
(C) Composition
(D) Aggregation
Answer:
(A) Data abstraction

Question 133.
Data abstraction follows ………….. .
(A) all that is visible to the rest of the world is the abstract behavior of data type
(B) details of how behavior is implemented are hidden
(C) data can be changed as per need without impacting others.
(D) all of these
Answer:
(D) all of these

Question 134.
………………. is the example of data abstraction.
(A) Abstract Data Types – ADT of C and C++
(B) Structure
(C) Classes of C++ and Java
(D) All of these
Answer:
(D) All of these

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 135.
ADT stands for ……………… .
(A) Access Data Types
(B) Abstract Data Types
(C) Absolute Data Types
(D) Advanced Data Types
Answer:
(B) Abstract Data Types

Question 136.
Which option is true for abstract data types ?
(A) User can define it and mention the methods
(B) It can not mention how the execution is done process on
(C) (A) and (B) both
(D) None of these
Answer:
(C) (A) and (B) both

Question 137.
……………… keeps the information of execution done on the process secret and makes it protected.
(A) Data abstraction
(B) Data encapsulation
(C) Composition
(D) Aggregation
Answer:
(B) Data encapsulation

Question 138.
What is it called which keeps the information of execution done on the process secret and makes it protected ?
(A) Data abstraction
(B) Data encapsulation
(C) Composition
(D) Aggregation
Answer:
(A) Data abstraction

Question 139.
What is the calling of method known as in object oriented programming ?
(A) Attribute
(B) Message
(C) Class
(D) Behavior
Answer:
(B) Message

Question 140.
Due to ……………, all method calls are controlled by the object which recognizes the method ?
(A) data encapsulation
(B) data abstraction
(C) composition
(D) aggregation
Answer:
(A) data encapsulation

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 141.
Method can not have same name in different class.
Choose the appropriate option.
(A) True
(B) False
(C) Can’t say
(D) None of these
Answer:
(B) False

Question 142.
Many forms is known as …………….. .
(A) composition
(B) aggregation
(C) messaging
(D) polymorphism
Answer:
(D) polymorphism

Question 143.
Polymorphism is known as …………… .
(A) many forms
(B) different forms
(C) (A) and (B) both
(D) none of these
Answer:
(C) (A) and (B) both

Question 144.
In which circumstances, it is possible to define multiple functions with same name in object oriented programming ?
(A) If the methods are more than the signature
(B) If the methods are less than the signature
(C) If the methods are same in the signature
(D) If the methods are different in the signature
Answer:
(D) If the methods are different in the signature

Question 145.
Number of parameters and type is called ……………… .
(A) composition
(B) signature
(C) messaging
(D) polymorphism
Answer:
(B) signature

Question 146.
……………… allows to create multiple functions with same name.
(A) Object oriented programming
(B) Structured programming
(C) (A) and (B) both
(D) None of these
Answer:
(A) Object oriented programming

Question 147.
…………….. is the feature to create multiple functions with same name if they differ in signature.
(A) Function overloading
(B) Method overloading
(C) (A) and (B) both
(D) Operator overloading
Answer:
(C) (A) and (B) both

Question 148.
………………. allows writing expression using operators on objects.
(A) Object oriented programming
(B) Structured programming
(C) (A) and (B) both
(D) None of these
Answer:
(A) Object oriented programming

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 149.
Operator is being operated on ……………… .
(A) operator
(B) operands
(C) operation
(D) opera
Answer:
(B) operands

Question 150.
What is polymorphism ?
(A) Many polygons
(B) Many parameters
(C) Many variables
(D) Many forms
Answer:
(D) Many forms

Question 151.
Same operation is given different meanings depending upon the type of operands used, is achieved through ………………. .
(A) operator overloading
(B) operator overlisting
(C) operator overfunction
(D) operator overweight
Answer:
(A) operator overloading

Question 152.
Capacity of same name with different meanings is called ……………. .
(A) overweight
(B) overfunction
(C) overlisting
(D) overloading
Answer:
(D) overloading

Question 153.
Polymorphism is achieved using ……………….. overloadings.
(A) 2
(B) 3
(C) 4
(D) 5
Answer:
(A) 2

Question 154.
Polymorphism is possible with ……………… overloading.
(A) function
(B) operator
(C) (A) and (B) both
(D) none of these
Answer:
(C) (A) and (B) both

Question 155.
When objects of one class are composed of objects of other class is called …………….. .
(A) aggregation
(B) composition
(C) (A) or (B)
(D) none of these
Answer:
(C) (A) or (B)

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 156.
When two classes represent ‘has-a’ or ‘a-part-of relationship is known as ……………. .
(A) aggregation
(B) composition
(C) (A) and (B) both
(D) none of these
Answer:
(C) (A) and (B) both

Question 157.
Aggregation or composition represents ………………. relationship between classes.
(A) has-a
(B) a-part-of
(C) (A) and (B) both
(D) none of these
Answer:
(C) (A) and (B) both

Question 158.
Aggregation or composition represents what type of relationship between classes ?
(A) has-a or a-part-of
(B) complete or a-part-of
(C) complete or is-not-part-of
(D) incomplete or a-part-of
Answer:
(A) has-a or a-part-of

Question 159.
……………… represents has-a or a-part-of relationship.
(A) Aggregation
(B) Composition
(C) (A) or (B)
(D) None of these
Answer:
(C) (A) or (B)

Question 160.
What type of relationship between classes is a represented by aggregation or composition ?
(A) Exclusive
(B) Non-exclusive
(C) (A) and (B) both
(D) All of these
Answer:
(B) Non-exclusive

Question 161.
In ……………….., the class that form part of owner class can exist independently ?
(A) aggregation
(B) composition
(C) (A) and (B) both
(D) none of these
Answer:
(A) aggregation

Question 162.
The life of an object of the part class is determined by the owner class.
Choose the appropriate option.
(A) True
(B) False
(C) Can’t say
(D) None of these
Answer:
(B) False

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 163.
The relationship of aggregation is represented using ……………….. symbol.
(A) empty diamond
(B) filled diamond
(C) half empty diamond
(D) half filled diamond
Answer:
(A) empty diamond

Question 164.
…………….. sign is used for aggregation.
GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts 1
(C) (A) or (B)
(D) None of these
Answer:
GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts 2

Question 165.
The following figure indicates ………………. .
GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts 3
(A) composition
(B) aggregation
(C) (A) and (B) both
(D) none of these
Answer:
(B) aggregation

Question 166.
What type of relationship between two classes is resented by composition ?
(A) Special
(B) Many forms
(C) Equal
(D) Unique
Answer:
(D) Unique

Question 167.
Composition is …………… type of aggregation.
(A) active
(B) weak
(C) strong
(D) none of these
Answer:
(C) strong

Question 168.
In ……………… the lifetime of the part class depends on the existence of the owner class.
(A) composition
(B) aggregation
(C) (A) and (B) both
(D) none of these
Answer:
(A) composition

Question 169.
In ………………. , if an object of aggregating class is deleted, its part class object also gets deleted.
(A) aggregation
(B) composition
(C) (A) and (B) both
(D) none of these
Answer:
(B) composition

Question 170.
Using ……………… symbol, composition relationship is represented.
(A) filled diamond
(B) empty diamond
(C) half empty diamond
(D) half filled diamond
Answer:
(A) filled diamond

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 171.
…………… sign is used to represent composition.
GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts 1
(C) (A) or (B)
(D) None of these
Answer:
GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts 4

Question 172.
The following figure represents ……………… .
GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts 5
(A) composition
(B) aggregation
(C) (A) and (B) both
(D) none of these
Answer:
(A) composition

Question 173.
If one class holds the objects of other class then it is called ………….. .
(A) owner class
(B) subject class
(C) part class
(D) aggregated class
Answer:
(A) owner class

Question 174.
Owner class is also called …………….. .
(A) whole class
(B) aggregating class
(C) (A) or (B)
(D) subject class
Answer:
(C) (A) or (B)

Question 175.
What it is known as when a class holds the objects of some other class.
(A) Owner class
(B) Whole class
(C) Aggregating class
(D) All of these
Answer:
(D) All of these

Question 176.
The class which is included in the owner class, it is known as …………….. .
(A) subject class
(B) owner class
(C) aggregating class
(D) whole class
Answer:
(A) subject class

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 177.
Subject class is also called …………….. .
(A) part class
(B) aggregated class
(C) (A) or (B)
(D) owner class
Answer:
(C) (A) or (B)

Question 178.
Class included in the owner class is called ……………… .
(A) subject class
(B) part class
(C) aggregated class
(D) all of these
Answer:
(D) all of these

Question 179.
Inheritance is of how many types ?
(A) 2
(B) 3
(C) 4
(D) 5
Answer:
(A) 2

Question 180.
…………….. is a type of inheritance.
(A) Single inheritance
(B) Multilevel inheritance
(C) (A) and (B) both
(D) None of these
Answer:
(C) (A) and (B) both

Question 181.
If the two classes have ’is-a-kind-of relationship then it is called ……………… .
(A) single inheritance
(B) multilevel inheritance
(C) (A) and (B) both
(D) none of these
Answer:
(A) single inheritance

Question 182.
What type of relationship between two classes is called inheritance ?
(A) is-a-kind-of
(B) is-two-kinds-of
(C) is-three-kinds-of
(D) many-kinds-of
Answer:
(A) is-a-kind-of

Question 183.
When one class is a kind of another class then ………………. is used.
(A) single inheritance
(B) multilevel inheritance
(C) (A) and (B) both
(D) none of these
Answer:
(A) single inheritance

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 184.
In single inheritance where the common properties are kept ?
(A) In subclass
(B) In super class
(C) (A) and (B) both
(D) None of these
Answer:
(B) In super class

Question 185.
In single inheritance where the special properties are kept ?
(A) In subclass
(B) In super class
(C) (A) and (B) both
(D) None of these
Answer:
(A) In subclass

Question 186.
What type of inheritance does the following figure suggest ?
GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts 6
(A) Single inheritance
(B) Multilevel inheritance
(C) (A) and (B) both
(D) None of these
Answer:
(A) Single inheritance

Question 187.
In object oriented terminology, new class is called …………………. .
(A) sub class
(B) child class
(C) derived class
(D) all of these
Answer:
(D) all of these

Question 188.
In object oriented terminology, existing class is called …………………. .
(A) super class
(B) parent class
(C) base class
(D) all of these
Answer:
(D) all of these

Question 189.
……………….. of super class is available to objects in the sub class without rewriting their declarations.
(A) Data attributes of super class
(B) Method object
(C) (A) and (B) both
(D) None of these
Answer:
(C) (A) and (B) both

Question 190.
In the sub class whose addition is for the extension ?
(A) New data
(B) Method members
(C) (A) and (B) both
(D) None of these
Answer:
(C) (A) and (B) both

Question 191.
……………….. allows the methods to be refined in sub class as per need.
(A) Sub class
(B) Super class
(C) Base class
(D) Parent class
Answer:
(A) Sub class

Question 192.
What is other name for inheritance ?
(A) Specialization
(B) Modernization
(C) Heredity
(D) Generalization
Answer:
(D) Generalization

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 193.
What is inheritance ?
(A) Application
(B) Relationship
(C) Function
(D) Format
Answer:
(B) Relationship

Question 194.
In …………….. , there is relationship between two classes where one class is a specialized version of another.
(A) multilevel inheritance
(B) single inheritance
(C) (A) and (B) both
(D) none of these
Answer:
(A) multilevel inheritance

Question 195.
…………….. can be defined in super class.
(A) attributes
(B) methods
(C) (A) and (B) both
(D) none of these
Answer:
(C) (A) and (B) both

Question 196.
In ………………. , common attributes and methods are defined.
(A) super class
(B) sub class
(C) derived class
(D) child class
Answer:
(A) super class

Question 197.
……………… is a specialized version with additional
attributes and features.
(A) Super class
(B) Parent class
(C) Base class
(D) Sub class
Answer:
(D) Sub class

Question 198.
There may be a classical ……………… of inheritance between classes.
(A) hierarchy
(B) relations
(C) indication
(D) logic
Answer:
(A) hierarchy

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 199.
The following figure is the example of ……………. .
GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts 7
(A) single inheritance
(B) multilevel inheritance
(C) (A) and (B) both
(D) none of these
Answer:
(B) multilevel inheritance

Question 200.
In …………….. , a class is not inherited from another class but it is composed of another class.
(A) composition
(B) inheritance
(C) (A) and (B) both
(D) none of these
Answer:
(A) composition

Question 201.
In ……………….. , a class has some attributes and some attributes of other class.
(A) composition
(B) inheritance
(C) (A) and (B) both
(D) none of these
Answer:
(A) composition

Question 202.
In inheritance, class inherits from other classes in order to ……………… functionality.
(A) share
(B) reuse
(C) extend
(D) all of these
Answer:
(D) all of these

Question 203.
In, ……………. class inherits from other classes in order to share, reuse or extend functionality.
(A) composition
(B) inheritance
(C) (A) and (B) both
(D) none of these
Answer:
(B) inheritance

Question 204.
………………. type of relationship is there between super class and sub class in inheritance.
(A) ‘is a kind of’
(B) ‘other kind of’
(C) ‘many kinds of’
(D) all of these
Answer:
(A) ‘is a kind of’

Question 205.
What is another name of inheritance ?
(A) Generalization
(B) One relationship
(C) (A) and (B) both
(D) None of these
Answer:
(C) (A) and (B) both

GSEB Std 12 Computer MCQ Answers Ch 6 Object-Oriented Concepts

Question 206.
…………….. shows the ‘is-a-kind-of’ between two classes.
(A) Composition
(B) Inheritance
(C) (A) and (B) both
(D) None of these
Answer:
(A) Composition

Question 207.
When one class is a type of other class then it is ………………. relationship.
(A) ‘is a kind of’
(B) ‘other kind of
(C) ‘many kinds of’
(D) all of these
Answer:
(A) ‘is a kind of’

Leave a Comment

Your email address will not be published. Required fields are marked *