Home / HSC(ENG) - GSEB Board / Reading Mode

πŸ“– Reading Mode: HSC(ENG) - GSEB Board

Chapter: Object-Oriented concepts β€’ Total: 201 MCQs

MCQ 1 Inheritance

Which model has a is-a relationship between two classes?

A Polymorphism
B Aggregation
C Composition
D Inheritance
MCQ 2 Encapsulation

Which of the following protects data by making them inaccessible from outside ?

A Encapsulation
B Data-abstraction
C messaging
D polymorphism
MCQ 3 Class diagram

Which of the following present a collection of classes,constrains and relationship among classes?

A Class-Diagram
B Flowchart
C Algorithm
D Diagram
MCQ 4 Messaging

In object-oriented methodlogy, which of the following is known as a call to a method?

A Polymorphism
B Data-abstraction
C Encapsulation
D Messaging
MCQ 5 Description of class diagram

#amount : float = 0.0; which type of visibility is used in the given statement?

A Private
B Public
C Protected
D Package
MCQ 6 Aggregation and composition

Which type of relationship is there between class human and class heart?Β (HUMAN<- Heart)

A Composition
B Aggregation
C Inheritance
D All of the above
MCQ 7 Introduction

In Object Oriented programming, what are the fundamental parts?

A Object
B Class
C (A) and (B) both
D functionΒ 
MCQ 8 Aggregation and composition

Which type of relationship between class β€˜city’ and class β€˜tree’ is represented by figure? City <- Tree

A Composition
B Aggregation
C Polymorphism
D All of the above
MCQ 9 Introduction

How many specific object propertis are support by an object-oriented computer langage ?

A 2
B 4
C 3
D 5
MCQ 10 Class diagram

WHAT IS TO BE REPRESENTED ON THE TOP SECTION OF CLASS DIAGRAM, WHICH IS A REPRASENTATION OF CLASS.

A NAME OF THE CLASS
B ATTRIBUTES OF CLASS
C BEHAVIOUR OF CLASS
D ALL OF THESE
MCQ 11 Class diagram

UNIFIED MODELING LANGUAGE IS DEFINES BY WHOM?

A IMG
B PMG
C OMG
D CMG
MCQ 12 Object-oriented programming

WHICH OF THE FOLLOWING IS ENABLE BY DATA ABSTRACTION?

A DATA PROTECTION
B DATA HIDING
C TO HIDE METHOD
D ALL OF THESE
MCQ 13 Introduction

A COMUTER LANGUAGE IS OBJECT ORIENTED IF IT SUPPORTS WHICH TYPE OF OBJECT PROPERTIES?

A ABSTRACTION
B Encapsulation
C INHERITANCE
D ALL OF THESE
MCQ 14 Introduction

JAVA PROGRAMING LANGUAGE USE WHICH TYPE OF METHODOLOGY TO ANALYSIS DESIGN AND IMPLEMENTATION.

A STRUCTURE
B OBJECT CREATION
C BOTH (A) &amp; (B)
D SYSTEM ORINTED
MCQ 15 Object-oriented programming

WHAT IS THE MECHANISM OF PROVIDING PROTECTION TO DATA AND METHOD OF A LANGUAGE.

A Data Range
B Data Type
C Encapsulation
D Abstraction
MCQ 16 Polymorphism

THE MEANING OF WHICH WORD, IS MANY FORMS or DIFFERENT FORMS OF METHODS WITH SAME NAME IN JAVA.

A Inheritance
B Abstraction
C Encapsulation
D Polymorphism
MCQ 17 Introduction

In Object oriented methodology, the focus is on which of the following entity?

A Data
B Functions
C Object
D All of these
MCQ 18 Inheritance

What is called new class in object oriented terminology?

A Sub class
B Child class
C Derived class
D All of these
MCQ 19 Class diagram

What can be used to create models of object oriented software to help with design of an application?

A Unified Modelling Language
B Unified Modelling Linux
C Unified Manufacturing Linux
D Unified Manufacturing Language
MCQ 20 Object

What object oriented program, attribute that describe the object are known?

A Behavior
B Method
C Data field
D State
MCQ 21 Introduction

Which of the following programming language does not support object-oriented programming?

A asp.net
B Java
C PHP
D C
MCQ 22 Introduction

The way of programming can be divided into how many categories?

A 2
B 3
C 4
D 5
MCQ 23 Class

Which of the following is used to define common feature of similar objects?

A Class
B Method
C Object
D Messaging
MCQ 24 Class diagram

In Class diagram, a class is represented using which of the following?

A name
B behaviour
C attributes
D All of these
MCQ 25 Description of class diagram

In UML, visibility can be represented using which of the following symbols?

A +, /, ~, *
B –, #, +, _
C –, #, *, $
D ~, #, +, –
MCQ 26 Encapsulation

In Object oriented programming, which of the following property keeps the data safe from unintended actions and inadvertent access by outside objects ?

A Messaging
B Polymorphism
C Encapsulation
D Data abstraction
MCQ 27 Polymorphism

Which feature of object oriented programming allows defining more than one method having same name but different signature in single class ?

A Messaging
B Method overloading
C Aggregation
D Encapsulation
MCQ 28 Polymorphism

Polymorphism is achieved using how many types of overloading?

A 6
B 3
C 4
D 2
MCQ 29 Aggregation and composition

When objects of one class are composed of objects of other class is called what?

A Aggregation
B Encapsulation
C Inheritance
D Polymorphism
MCQ 30 Aggregation and composition

Aggregation represents which type of relationship between two classes?

A exclusive
B non-exclusive
C same
D None of these
MCQ 31 Aggregation Vs. composition

What is known as the class that is contained in owner class?

A Subject class
B Part class
C Aggregated class
D All of these
MCQ 32 Inheritance

In Object oriented terminology, sub class or child class or derived class indicated what for inheritance?

A Base class
B Existing class
C Super class
D New class
MCQ 33 Data abstraction

What is the full form of ADT?

A Absolute Data Type
B Above Data Types
C Abstract Data Types
D Abstract Data Transfer
MCQ 34 Inheritance

Which of the following refers to the capability of defining a new class of objects that inherits the characteristics of another existing class?

A Encapsulation
B Inheritance
C Messaging
D Abstract
MCQ 35 Inheritance

In Object oriented terminology new class is called sub class or child class or derived class, whereas the existing class is called as what ?

A User class
B Top class
C Upper class
D Super class
MCQ 36 Aggregation and composition

Aggregation represents which type of relationship between classes?

A is-a
B is-a-kind-of
C have-a
D has-a
MCQ 37 Description of class diagram

Which of the following members of the class are not available directly to outside world?

A Public
B Private
C Protected
D Package
MCQ 38 Description of class diagram

In UML notation, visibility can be private, protected, public and package, where protected is represented using which symbol ?

A +
B -
C #
D ~
MCQ 39 Class diagram

Which of the following presents a collection of classes, constraints and relationship among classes ?

A Object diagram
B Group diagram
C Model diagram
D Class diagram
MCQ 40 Object-oriented programming

A computer language is object oriented, if they support which of the following object properties?

A Abstract, Extract, Concept, Inheritance
B Abstraction, Encapsulations, Polymorphism, Inheritance
C Abstraction, Extract, Polymorphism, Inheritance
D Abstraction, Capsulation, Polymorphism, Heritance
MCQ 41 Aggregation and composition

In class diagram, Aggregation is represented using which of the following symbols?

A Empty diamond symbol
B Filled diamond symbol
C Empty triangle symbol
D Filled triangle symbol
MCQ 42 Introduction

In which programing, the focus is on writing functions or procedures which operate on data?

A Procedural
B Object-oriented
C Markup
D All of above
MCQ 43 Introduction

In which programing, the focus is on objects which containing both data and functionality together?

A Procedural
B Object-oriented
C Markup
D Makeup
MCQ 44 Object

In the real world, which of the following are the entities of which the world is comprised?

A object
B class
C Row
D Table
MCQ 45 Object

In object-oriented terminology, characteristics are known as _______________________.

A properties
B attributes
C entity
D both a or b
MCQ 46 Object

To identify the objects, we use the value of the attributes. These value is called as __________________.

A state
B class
C behavior
D object
MCQ 47 Object

There is always a behavior associated with ____________

A state
B class
C behavior
D object
MCQ 48 Object

The behavior also known as _________________

A state
B class
C object
D method
MCQ 49 Object

Any real world objects can be described in terms of ___________________________________.

A What it is called (identity)
B What it is (its state [value] )
C What it does (its behavior)
D All of these
MCQ 50 Class

________________________ can be considered as a blueprint for various objects.

A state
B class
C behavior
D object
MCQ 51 Class

A class is a concept used to embody all the common features of a particular set of _______________.

A state
B method
C behavior
D object
MCQ 52 Class diagram

The purpose of the class diagram is to model the _______________ view of an application.

A static
B dynamic
C random
D All of above
MCQ 53 Class diagram

In class diagram, a class is represented with an icon using a rectangle split into how many sections?

A 1
B 2
C 3
D 4
MCQ 54 Class diagram

In an attribute declaration, the ________________ brackets are optional.

A square [ ]
B circle ( )
C angular < >
D curly { }
MCQ 55 Description of class diagram

Objects are ________________

A static
B dynamic
C random
D All of above
MCQ 56 Encapsulation

What is possible by wrapping data and methods into a single unit class and declaring them as private?

A Encapsulation
B Data Abstraction
C Inheritance
D All of above
MCQ 57 Encapsulation

Encapsulation provides ………..hiding capability.

A data
B information
C table
D All of above
MCQ 58 Encapsulation

………….keeps the data safe from unintended actions and inadvertent access by outside objects

A Encapsulation
B Data Abstraction
C Messaging
D Polymorphism
MCQ 59 Data abstraction

A user defined function with necessary input data parameters also provides _________________.

A Encapsulation
B Data Abstraction
C Inheritance
D Polymorphism
MCQ 60 Data abstraction

Which are the examples for data abstraction ?

A ADT or structures (Struct) in C / C++
B classes in C++/ JAVA
C JavaScript
D Both a and b
MCQ 61 Data abstraction

In ……….., we simply define a data type and a set of operation on it but the implementation of operations is not seen.

A ADT
B UML
C OMG
D PNG
MCQ 62 Messaging

In object-oriented terminology, a call to a method is referred to as a ……………..

A Message
B class
C Attributes
D State
MCQ 63 Polymorphism

In how many types of overloading is achieved by polymorphism?

A function overloading
B operator overloading
C Inheritance
D Both A and B
MCQ 64 Polymorphism

The capability of using same names to mean different things in different contexts is called what ?

A Method overloading
B Inheritance
C Data Messaging
D Method Overriding
MCQ 65 Aggregation and composition

When objects of one class are composed of objects of other class, it is called what?

A aggregation
B composition
C Encapsulation
D Both a or b
MCQ 66 Aggregation and composition

Aggregation represents ……………….type of relationship between classes

A has-a
B a-part-of
C is-a
D Both A and B
MCQ 67 Aggregation and composition

Composition represents …………….. relationship between two classes

A non-exclusive
B exclusive
C Strong
D Simple
MCQ 68 Inheritance

In Inheritance, common attributes and methods are defined in ……………..class in inheritance.

A sub
B super
C sub,super
D public
MCQ 69 Inheritance

When a class is derived from two or more classes, it is known as ……………type of inheritances.

A multiple
B single
C multi level
D Both a and b
MCQ 70 Messaging

Identify "A Call to a method ,in OOP is what?"

A Encapsulation
B Data Abstraction
C Messaging
D Polymorphism
MCQ 71 Class diagram

Which of the following is the bottom section of a class diagram?

A Behaviour of the class
B Operation of the class
C Method of the class
D All of above
MCQ 72 Object-oriented programming

Which of the following are core elements for any computer program?

A Data and Attributes
B Methods and Attributes
C Data and Functions
D Behaviour and States
MCQ 73 Description of class diagram

Which of the following symbol is used to represent Public visibility?

A +
B -
C #
D ~
MCQ 74 Encapsulation

Which programming discourages direct access to common data by other programs?

A Conceptual
B Multilevel
C Procedural
D Object-oriented
MCQ 75 Class diagram

Which of the following can be directly mapped with object oriented languages and widely used among software developers?

A Class behaviour
B Class diagram
C Properties
D Attributes
MCQ 76 Description of class diagram

How objects are presented during execution of an application?

A Using their state
B Using behaviour
C Using properties
D Using attributes
MCQ 77 Object

In real world object description, What it is means

A Identity
B Members
C State
D Behaviour
MCQ 78 Encapsulation

Which of the following protects data by making them inaccessible from outside?

A Data abstraction
B Encapsulation
C Inheritance
D Polymorphism
MCQ 79 Composition Vs. inheritance

In which of the following classes do not inherit from other classes, but are composed of other classes ?

A Inheritance
B Polymorphism
C Composition
D Encapsulation
MCQ 80 Composition Vs. inheritance

Which kind of relationship is existed between superclass and subclass in inheritance

A Has-a
B this - is β€”a
C Has β€” below
D A kind of
MCQ 81 Inheritance

When a class is derived from two or more classes, it is known as....

A Polymorphism
B Multiple inheritance
C Generalization
D Aggregation
MCQ 82 Inheritance

Name the inheritance, where there may be a classical hierarchy of inheritance between class.

A Multiple inheritance
B Multilevel inheritance
C Conceptual inheritance
D Complex inheritance
MCQ 83 Inheritance

In is - a relationship, which class is a specialized version with additional attributes and methods ?

A Sub
B Super
C Abstract
D Aggregate
MCQ 84 Polymorphism

How many types of overloading is used to achieve polymorphism ?

A 1
B 2
C 3
D 4
MCQ 85 Polymorphism

Which kind of overloading is used, when same operation is given different meanings depending upon the data type of operands used?

A Operator overloading
B Function overloading
C Method overloading
D Both B & C
MCQ 86 Polymorphism

Which kind of programming allows writing expression using operators on objects ?

A Procedural
B Structured
C Sequential
D Object-oriented
MCQ 87 Polymorphism

Polymorphism means....

A Many forms
B A call to a method
C Data hiding
D Encapsulation
MCQ 88 Data abstraction

What is the full form of ADT ?

A Abstract Data Types
B Abstraction of Data Transmission
C Aggregation of Data Types
D None of these
MCQ 89 Data abstraction

Which technique relies on the separation of interface and implementation?

A Aggregation
B Encapsulation
C Polymorphism
D Data abstraction
MCQ 90 Data abstraction

Which of the following provides the skeleton or templates for our use?

A Messaging
B Polymorphism
C Encapsulation
D Data abstraction
MCQ 91 Description of class diagram

Which kind of members of the class are not available directly to outside world ?

A Private
B Public
C Package
D Protected
MCQ 92 Encapsulation

What is not protected from modification in procedural programming ?

A Functions
B Data
C Behaviour
D Method
MCQ 93 Encapsulation

In which kind of programming, data can be altered by any component of the program?

A Object-oriented
B Procedural
C Conceptual
D Multilevel
MCQ 94 Encapsulation

Which kind of programming views two core elements data and functions as one single entity ?

A Structured
B Procedural
C Both A & B
D Object-oriented
MCQ 95 Encapsulation

Which kind of programming views two core elements data and functions as two separate entities ?

A Structured
B Procedural
C Both A & B
D Object-oriented
MCQ 96 Description of class diagram

Which of the following is a general concept used to embody all the common features of a particular set of objects ?

A Class
B State
C Behaviour
D Attribute
MCQ 97 Description of class diagram

Which of the following describes a group of objects with similar attributes and common behaviour?

A Properties
B Members
C Class
D Features
MCQ 98 Object

Which of the following is/are irrelevant with the railway reservation application?

A Car
B Watch
C Computer
D All of the above
MCQ 99 Description of class diagram

Which of the following can be considered as a blueprint for various objects ?

A State
B Attribute
C Features
D Class
MCQ 100 Description of class diagram

Which of the following is a template for multiple objects with similar features ?

A Class
B Method
C Feature
D Properties
MCQ 101 Encapsulation

Which of the following can keep the data safe from unintended actions and inadvertent access by outside objects ?

A Data abstraction
B Encapsulation
C Polymorphism
D Aggregation
MCQ 102 Object

Which of the following are data attributes and behavioral methods associated with an object ?

A Members
B Features
C Both A & B
D Method
MCQ 103 Object

In real world object description, What it does means....

A Identity
B State
C Attributes
D Behaviour
MCQ 104 Object

What is the other name of Attributes

A Method
B Properties
C State
D Value
MCQ 105 Object

What is the other name of behaviour?

A State
B Method
C Properties
D Attributes
MCQ 106 Object

Which of the following can be changed due to object's behaviour?

A Class
B State
C Method
D Members
MCQ 107 Object

Which of the following is/are meaningful object/s of railway reservation application?

A Train
B Passenger
C Ticket
D All of the above
MCQ 108 Encapsulation

To whom message should be send to view or change the data by other objects?

A Method
B Private variable
C Owner
D User defined function
MCQ 109 Data abstraction

Which of the following is a process of representing the essential features of the objects without including implementation detail ?

A Encapsulation
B Aggregation
C UML diagrams
D Data abstraction
MCQ 110 Object

In object-oriented programming, attributes that describe the object are also referred to as....

A Data fields
B Properties
C Features
D State
MCQ 111 Data abstraction

Which of the following is a concept that hides the complexity: it says what it does, but not how it is done ?

A Alert
B Messaging
C Encapsulation
D Data abstraction
MCQ 112 Data abstraction

What will be provided by a user-defined function with necessary input data parameters?

A Encapsulation
B Data abstraction
C Messaging
D Polymorphism
MCQ 113 Composition Vs. inheritance

In Java, Composition and Aggregation establish which type of relationship between classes ?

A was - a
B as - a
C is - a
D has - a
MCQ 114 Polymorphism

In Java, which of the following refers to different methods that have the same name but a different signature ?

A Class overloading
B Method overloading
C Signature overloading
D Variable overloading
MCQ 115 Introduction

Which of the following properties should be support by object oriented programming language?

A Abstraction, encapsulation, polymorphism, inheritance
B Aggregation, composition, inheritance, abstraction
C Generalization, abstraction, inheritance, polymorphism
D Abstraction, composition, polymorphism, inheritance
MCQ 116 Introduction

Which type of polymorphism is achieved, when same operation is given different meanings depending upon the data type of operands used?

A Method overloading
B Operator overloading
C Aggregation
D Composition
MCQ 117 Introduction

In which of the following, the lifetime of the part class depends on the existence of the owner class?

A Abstraction
B Polymorphism
C Composition
D Aggregation
MCQ 118 Introduction

Which of the following describes a group of objects with similar attributes and common behavior?

A Variables
B Objects
C Procedural programming
D Class
MCQ 119 Introduction

In which property of OOP, only the object that β€œowns” the data can change its content?

A Encapsulation
B Data abstraction
C Messaging
D Aggregation
MCQ 120 Introduction

In which section of UML diagram, behavior or methods or operations of a class are available?

A Top section
B Bottom section
C Middle section
D Left section
MCQ 121 Introduction

Which of the following examples represents multilevel inheritance?

A date l-date 2 and nl-n2
B Motherboard is a part of computer
C Employee is a kind of person and teacher is a employee
D Call to a method
MCQ 122 Introduction

Which of the following symbols represents β€˜package’ visibility?

A #
B +
C ~
D -
MCQ 123 Introduction

In which kind of programming, the focus is on writing functions or procedures which operate on data?

A Procedural
B Sequential
C Logical
D Object oriented
MCQ 124 Introduction

Which of the following techniques relies on the separation of interface and implementation?

A Encapsulation
B Polymorphism
C Data Abstraction
D Inheritance
MCQ 125 Introduction

Which are the examples for data abstraction in C++/ Java?

A Structures
B Abstract Data Types
C Classes
D Objects
MCQ 126 Introduction

In. Java, what is used whenever two classes have β€œis-a’ relationship?

A Composition
B Aggregation
C Encapsulation
D Inheritance
MCQ 127 Introduction

Which of the following represents exclusive relationship between two classes?

A Inheritance
B Composition
C Aggregation
D Structure
MCQ 128 Introduction

In object-oriented system, which of the following concepts enables to express the set of objects that are abstractly equivalent, differing only in the values of their attributes?

A Attribute
B Method
C Object
D Class
MCQ 129 Introduction

Which of the following terms means β€˜Many forms’ in object oriented concept?

A Aggregation
B Composition
C Encapsulation
D Polymorphism
MCQ 130 Introduction

Which kind of relationship is referred by Aggregation between two classes?

A is-a
B a-part-of
C is-a-kind-of
D like-a
MCQ 131 Introduction

Which of the following symbols represents basic aggregation in object-oriented concept?

A Filled diamond
B Empty diamond
C Arrow pointing to sub class
D Arrow pointing to super class
MCQ 132 Introduction

Which of the following keeps the data safe from unintended actions and inadvertent access by outside objects?

A Messaging
B Encapsulation
C Aggregation
D Data abstraction
MCQ 133 Class diagram

Which of the following stands for UML

A United Main LAN
B United Model Language
C Unified Modelling Language
D Union Model Language
MCQ 134 Introduction

Which of the following is used to model the static view of an application?

A Object diagram
B Class diagram
C Binary diagram
D None of the given
MCQ 135 Introduction

When objects of one class are composed of objects of other class, it is called __________

A Aggregation
B Composition
C A or B
D None of the given
MCQ 136 Introduction

Which of the following is associated with object?

A function
B state
C behavior
D None of the given
MCQ 137 Introduction

In object-oriented programming, similar objects are classified using concept of ________

A function
B data
C class
D None of the given
MCQ 138 Introduction

Object-oriented programming allows defining more than one method having same name but different signature in a single class. This feature is known as ______________

A operator overloading
B function or method overloading
C object overloading
D class overloading
MCQ 139 Introduction

In UML notation, items written in which brackets are mandatory?

A square [ ]
B angle brackets <>
C Parenthesis ( )
D All of the given
MCQ 140 Introduction

In ________ if an object of aggregating class is deleted, its part class object also will get deleted.

A composition
B aggregation
C Both A and B
D Inheritance
MCQ 141 Introduction

Inheritance is generally referred to as 'is-a-kind-of relationship between ___________ classes.

A two
B three
C four
D five
MCQ 142 Introduction

In class diagram, a class is represented into ________________ sections.

A One
B Two
C Three
D Four
MCQ 143 Introduction

An aggregation represents _________________ relationship between classes.

A has-a
B a-part of
C A or B
D None of the given
MCQ 144 Introduction

Object-oriented system uses the concept of __________that enables to express the set of objects that are abstractly equivalent differing only in the values of their attributes.

A function
B class
C array
D pointer
MCQ 145 Introduction

Which of the following properties an object-oriented language should contain?

A Abstraction
B Encapsulation and Polymorphism
C Inheritance
D All of the given
MCQ 146 Introduction

In object-oriented language, _________________ means many forms.

A Encapsulation
B Polymorphism
C Inheritance
D Aggregation
MCQ 147 Introduction

In UML notations, the items written in pair of __________________ brackets are optional.

A square [ ]
B angular <>
C parenthesis ()
D All of the given
MCQ 148 Introduction

The data attributes and behavioral methods associated with an object are collectively referred to as its _________________

A members
B features
C A or B
D class
MCQ 149 Introduction

In ________________ classes do not inherit from other classes, but are composed of other classes

A Composition
B Inheritance
C Aggregation
D All of the given
MCQ 150 Introduction

Which of the following is represented in class-diagram?

A name
B attribute
C behaviour
D All of the given
MCQ 151 Introduction

Aggregation represents ________________ relationship between two classes.

A Non-exclusive
B Exclusive
C Both A and B
D None of the given
MCQ 152 Introduction

Which of the following is a template for multiple objects with similar features?

A class
B function
C array
D pointer
MCQ 153 Introduction

Which type of programming enables the programmer to formulate a program by composition and modification of existing modules?

A structure
B object-oriented
C query oriented
D None of the given
MCQ 154 Introduction

Which of the following symbol is used to represent composition?

A Empty Diamond
B Fill Diamond
C Empty Square
D Fill Square
MCQ 155 Introduction

Which of the following hides certain details like how data is stored, created, maintained?

A Data abstraction
B Messaging
C Polymorphism.
D Inheritance
MCQ 156 Introduction

Which of the following are examples for data abstraction?

A Abstract Data type/structure in C/C++
B Classes in C++/Java
C Both A and B
D None of the given
MCQ 157 Introduction

In inheritance, _____________ relationship exists between superclass and subclass.

A a kind of
B has
C a part of
D All of the given
MCQ 158 Introduction

Which of the following is there in the top section of class diagram?

A Name of the class
B Attributes or properties of the class
C Behaviour or operation of class
D All of the given
MCQ 159 Introduction

Composition model refers to which of the following relationships?

A Non-exclusive
B Exclusive
C Both A and B
D None of the given
MCQ 160 Introduction

What does the class diagram represent?

A A collection of classes
B Constrains
C Relationship among classes
D All of the given
MCQ 161 Introduction

Class is ___________________ representation of an object.

A physical
B an abstract
C Both A and B
D None of the given
MCQ 162 Introduction

Which of the following symbol is used to represent aggregation?

A Empty square
B Filled square
C Empty diamond
D Filled diamond
MCQ 163 Introduction

Which of the following represents the data without showing implementation process?

A Encapsulation
B Polymorphism
C Data abstraction
D Inheritance
MCQ 164 Introduction

In ____________________the class that forms part of the owner class can exist independently.

A aggregation
B composition
C inheritance
D A or B or C
MCQ 165 Introduction

In ______________ the object that "owns" the data has a power to change its contents other objects can view or change this data by sending a message to the "owner".

A data abstraction
B messaging
C object-oriented programming
D procedural programming
MCQ 166 Introduction

Which of the following is there in the middle section of class diagram?

A Name of the class
B Attributes/properties of class
C Behaviour or operation of class
D All of the given
MCQ 167 Introduction

The class that contains objects of other class is known as ______________________

A owner class
B whole class
C aggregating class
D All of the given
MCQ 168 Introduction

The full form of UML is _________________________

A Unified Modelling Language
B Universal Modelling Language
C Unicode Mastering Language
D Unified Mastering Language
MCQ 169 Introduction

Which of the following refers to the abstract objects?

A Date
B Time
C Both A and B
D None of the given
MCQ 170 Introduction

In object-oriented terminology_______________ refers to the capability of defining a new class of objects that inherits the characteristics of another existing class.

A abstraction
B encapsulation
C inheritance
D polymorphism
MCQ 171 Introduction

In object-oriented terminology, a call to a method is referred to as a ________________

A encapsulation
B polymorphism
C data abstraction
D messaging
MCQ 172 Introduction

______________________ protects the data by making them inaccessible from outside.

A Abstraction
B Encapsulation
C Polymorphism
D Messaging
MCQ 173 Introduction

In ____________________ similar objects are classified using a concept of class.

A object-oriented programming
B data abstraction
C messaging
D encapsulation
MCQ 174 Introduction

Which of the following is there in the bottom section of class diagram?

A Name of the class
B Attributes or properties of the class
C Behaviour or operations of the class
D All of the given
MCQ 175 Introduction

The class that is contained in owner class is known as ________________

A Subject class
B Part class
C Aggregated class
D All of the given
MCQ 176 Introduction

Which of the following defined and maintained by Unified Modelling Language (UML)?

A Object Management Group (OMG)
B Internet Management Group (IMG)
C Programing Management Group (PMG)
D Class Management Group (CMG)
MCQ 177 Introduction

The value of attributes that are used to identify the objects are called __________________

A state
B function
C class
D All of the given
MCQ 178 Introduction

In ___________ class inherits from other classes in order to share, reuse or extend functionality.

A inheritance
B composition
C polymorphism
D All of the given
MCQ 179 Introduction

In object-oriented programming, __________ keeps the data safe from unintended actions and inadvertent access by outside objects.

A data abstraction
B encapsulation
C messaging
D polymorphism
MCQ 180 Introduction

In inheritance, common attributes and methods are defined in ____________

A super class
B subclass
C child class
D derived class
MCQ 181 Introduction

In object-oriented terminology, existing class is called..............

A super class
B parent class
C base class
D A or B or C
MCQ 182 Inheritance

Which model has a is-a relationship between two classes?

A Polymorphism
B Aggregation
C Composition
D Inheritance
MCQ 183 Encapsulation

Which of the following protects data by making them inaccessible from outside ?

A Encapsulation
B Data-abstraction
C messaging
D polymorphism
MCQ 184 Class diagram

Which of the following present a collection of classes,constrains and relationship among classes?

A Class-Diagram
B Flowchart
C Algorithm
D Diagram
MCQ 185 Messaging

In object-oriented methodlogy, which of the following is known as a call to a method?

A Polymorphism
B Data-abstraction
C Encapsulation
D Messaging
MCQ 186 Introduction

In Object Oriented programming, what are the fundamental parts?

A Object
B Class
C (A) and (B) both
D function 
MCQ 187 Object-oriented programming

WHAT IS THE MECHANISM OF PROVIDING PROTECTION TO DATA AND METHOD OF A LANGUAGE.

A Data Range
B Data Type
C Encapsulation
D Abstraction
MCQ 188 Aggregation and composition

Aggregation represents which type of relationship between two classes?

A exclusive
B non-exclusive
C same
D None of these
MCQ 189 Description of class diagram

Which of the following describes a group of objects with similar attributes and common behaviour?

A Properties
B Members
C Class
D Features
MCQ 190 Introduction

Which of the following properties should be support by object oriented programming language?

A Abstraction, encapsulation, polymorphism, inheritance
B Aggregation, composition, inheritance, abstraction
C Generalization, abstraction, inheritance, polymorphism
D Abstraction, composition, polymorphism, inheritance
MCQ 191 Introduction

Which type of polymorphism is achieved, when same operation is given different meanings depending upon the data type of operands used?

A Method overloading
B Operator overloading
C Aggregation
D Composition
MCQ 192 Introduction

In which of the following, the lifetime of the part class depends on the existence of the owner class?

A Abstraction
B Polymorphism
C Composition
D Aggregation
MCQ 193 Introduction

In which section of UML diagram, behavior or methods or operations of a class are available?

A Top section
B Bottom section
C Middle section
D Left section
MCQ 194 Introduction

In which kind of programming, the focus is on writing functions or procedures which operate on data?

A Procedural
B Sequential
C Logical
D Object oriented
MCQ 195 Introduction

Which of the following techniques relies on the separation of interface and implementation?

A Encapsulation
B Polymorphism
C Data Abstraction
D Inheritance
MCQ 196 Introduction

Which are the examples for data abstraction in C++/ Java?

A Structures
B Abstract Data Types
C Classes
D Objects
MCQ 197 Introduction

Which of the following represents exclusive relationship between two classes?

A Inheritance
B Composition
C Aggregation
D Structure
MCQ 198 Introduction

Which kind of relationship is referred by Aggregation between two classes?

A is-a
B a-part-of
C is-a-kind-of
D like-a
MCQ 199 Introduction

Which of the following symbols represents basic aggregation in object-oriented concept?

A Filled diamond
B Empty diamond
C Arrow pointing to sub class
D Arrow pointing to super class
MCQ 200 Introduction

Which of the following keeps the data safe from unintended actions and inadvertent access by outside objects?

A Messaging
B Encapsulation
C Aggregation
D Data abstraction
MCQ 201 Introduction

In object oriented terminology, which of the following statement is true for class? i. New class is called sub class or child class or derived class ii. Existing class is called super class or parent class or base class

A only (i)
B only (ii)
C Both (i) and (ii)
D None of these