Mphasis Abstraction and Encapsulation Quiz 1

Question 1

Time: 00:00:00
Which of the following is not an OOPs Concept ?

Encapsulation

Encapsulation

Inheritance

Inheritance

Polymorphism

Polymorphism

Exception Handling

Exception Handling

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

Please login to submit your explanation

Start

Question 2

Time: 00:00:00
In OOPs, Wrapping up of data into a single unit is known as ?

Encapsulation

Encapsulation

Inheritance

Inheritance

Abstraction

Abstraction

Polymorphism

Polymorphism

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

Please login to submit your explanation

Start

Question 3

Time: 00:00:00
IS-A relationship is also known as ?

Aggregation

Aggregation

Encapsulation

Encapsulation

Inheritance

Inheritance

Composition

Composition

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

Please login to submit your explanation

Start

Question 4

Time: 00:00:00
How many types of polymorphism are there in OOPs?

2

2

3

3

4

4

5

5

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

Please login to submit your explanation

Start

Question 5

Time: 00:00:00
Using the concept of encapsulation security of the data is

Ensured to some extent

Ensured to some extent

Purely ensured

Purely ensured

Not ensure

Not ensure

Very low

Very low

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

Please login to submit your explanation

Start

Question 6

Time: 00:00:00
Which of the following is false about an interface?

An interface can extend another interface

An interface can extend another interface

An interface can implement another interface

An interface can implement another interface

A class which is implementing an interface must implement all the methods of the interface

A class which is implementing an interface must implement all the methods of the interface

An interface is a solution for multiple inheritance in java.

An interface is a solution for multiple inheritance in java.

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

Please login to submit your explanation

Start

Question 7

Time: 00:00:00
Does OOP provide better security than POP?

Always true for any programming language

Always true for any programming language

It’s depend on the type of the program.

It’s depend on the type of the program.

May not be true with respect to all programming languages

May not be true with respect to all programming languages

It’s vice versa is true.

It’s vice versa is true.

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

Please login to submit your explanation

Start

Question 8

Time: 00:00:00
The subclass constructor uses the______keyword to invoke the constructor of the superclass.

Super

Super

Final

Final

Static

Static

Public

Public

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

Please login to submit your explanation

Start

Question 9

Time: 00:00:00
_____ is used to declare and initialize an object from another object of same class in C++

Copy constructor

Copy constructor

Overloaded constructor

Overloaded constructor

Non-parameterized constructor

Non-parameterized constructor

Default constructor

Default constructor

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

Please login to submit your explanation

Start

Question 10

Time: 00:00:00
______feature supports reusability and extensibility of classes.

Overloading

Overloading

Inheritance

Inheritance

Overriding

Overriding

Polymorphism

Polymorphism

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

Please login to submit your explanation

Start

["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%

Completed

0/10

Accuracy

0%

Get Prepinsta Prime

Get all 200+ courses offered by Prepinsta

Never Miss an OffCampus Update

Get OffCampus Updates on Social Media from PrepInsta

Follow us on our Media Handles, we post out OffCampus drives on our Instagram, Telegram, Discord, Whatsdapp etc.

Get Hiring Updates
Amazon,Google,Delottie & 30+companies are hiring ! Get hiring Updates right in your inbox from PrepInsta

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.

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.

Get PrepInsta Prime Subscription

Get access to all the courses that PrepInsta offers, check the out below -

Companies

TCS, Cognizant, Delloite, Infosys, Wipro, CoCubes, KPMG, Amazone, ZS Associates, Accenture, Congnizant & other 50+ companies

Programming

Data Structures, Top 500 Codes, C, C++, Java Python & other 10+ subjects

Skills

Full Stack Web Development, Data Science, Machine Learning, AWS Cloud, & other 10+ skills and 20+ projects

Comments