Question 1

Time: 00:00:00
What are the identical characteristics of object-oriented programming?

 

Features of abstraction and polymorphism are identical

Features of abstraction and polymorphism are identical

The features of inheritance and encapsulation are identical.

The features of inheritance and encapsulation are identical.

The features of encapsulation and polymorphism are identical.

The features of encapsulation and polymorphism are identical.

Abstraction and Encapsulation

Abstraction and Encapsulation

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 2

Time: 00:00:00
What is encapsulation?

strategy for merging the functions of multiple members into a single entity.

strategy for merging the functions of multiple members into a single entity.

mechanism that unifies many data members into a single unit.

mechanism that unifies many data members into a single unit.

a method for combining many data members and the member functions that are used with those data members into a single object.

a method for combining many data members and the member functions that are used with those data members into a single object.

strategy for creating a single unit that can modify any data by merging many data members and member functions.

strategy for creating a single unit that can modify any data by merging many data members and member functions.

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 3

Time: 00:00:00
Which keyword is used to declare virtual functions?

 

virt

virt

virtually

virtually

virtual

virtual

anonymous

anonymous

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 4

Time: 00:00:00
What definition of the word "polymorphism" do you think most accurately captures its meaning?

 

The ability to process a large volume of messages and data in a single manner.

The ability to process a large volume of messages and data in a single manner.

It is the ability to at least partially process ambiguous messages or data.

It is the ability to at least partially process ambiguous messages or data.

The ability to process a message or piece of data in more than one way.

The ability to process a message or piece of data in more than one way.

It is the ability to process the communication or information in a single form.

It is the ability to process the communication or information in a single form.

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 5

Time: 00:00:00
Which of the following features does not appear in the OOPS definition?

 

Efficient

Efficient

Modularity

Modularity

Code Reusability

Code Reusability

Redundant Data

Redundant Data

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 6

Time: 00:00:00
By using which of the following, we can access the private member function of a class?

 

class address

class address

object of class

object of class

object pointer

object pointer

address of member function

address of member function

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 7

Time: 00:00:00
What OOP feature is used to assign extra functions to a language's predefined operator?

 

Function Overloading

Function Overloading

Function Overriding

Function Overriding

Operator Overriding

Operator Overriding

Operator Overloading

Operator Overloading

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 8

Time: 00:00:00
Which feature can be implemented using encapsulation?

 

Polymorphism

Polymorphism

Overloading

Overloading

Inheritance

Inheritance

Abstraction

Abstraction

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 9

Time: 00:00:00
What keyword is appropriate for declaring static variables?

 

static

static

const

const

common

common

stat

stat

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 10

Time: 00:00:00
What happens if a static member function uses non-static members?

 

 

Executes if that member function is not used

Executes if that member function is not used

Compile time error

Compile time error

Executes fine

Executes fine

Runtime error

Runtime error

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

["0","40","60","80","100"]
["Need more practice!","Keep trying!","Not bad!","Good work!","Perfect!"]

Personalized Analytics only Availble for Logged in users

Analytics below shows your performance in various Mocks on PrepInsta

Your average Analytics for this Quiz

Rank

-

Percentile

0%

Get over 200+ Courses under One Subscription

mute

Don’t settle Learn from the Best with PrepInsta Prime Subscription

Learn from Top 1%

One Subscription, For Everything

The new cool way of learning and upskilling -

Limitless Learning

One Subscription access everything

Job Assistance

Get Access to PrepInsta Prime

Top Faculty

from FAANG/IITs/TOP MNC's

Get over 200+ course One Subscription

Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others.

Comments