InfyTQ OOPS Basic Quiz 1

Question 1

Time: 00:00:00
When deriving from a private base class, the public, protected and private members of the base class become private members of the derived class.

False

False

True

True

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

Please login to submit your explanation

Start

Question 2

Time: 00:00:00
Keyword which is used to access the method or member variables from the superclass

Super

Super

Has_a

Has_a

Using

Using

Is_a

Is_a

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

Please login to submit your explanation

Start

Question 3

Time: 00:00:00
The process by which one object can acquire the properties of another object:

Encapsulation

Encapsulation

Inheritance

Inheritance

Polymorphism

Polymorphism

Abstraction

Abstraction

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

Please login to submit your explanation

Start

Question 4

Time: 00:00:00
Information Hiding can also be termed as:

Inheritance

Inheritance

Data hiding

Data hiding

Encapsulation

Encapsulation

None of the above

None of the above

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

Please login to submit your explanation

Start

Question 5

Time: 00:00:00
Main method can be overridden:

True

True

False

False

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

Please login to submit your explanation

Start

Question 6

Time: 00:00:00
Pick the term that relates to polymorphism:

Dynamic allocation

Dynamic allocation

Static typing

Static typing

Static allocation

Static allocation

Dynamic binding

Dynamic binding

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

Please login to submit your explanation

Start

Question 7

Time: 00:00:00
When sub class declares a method that has the same type arguments as a method declared by one of its superclasses, it is termed as:

Method overloading

Method overloading

Method overriding

Method overriding

Operator overloading

Operator overloading

Operator overriding

Operator overriding

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

Please login to submit your explanation

Start

Question 8

Time: 00:00:00
Two or more methods with the same name in the same class with different arguments are called:

Method overriding

Method overriding

Method overloading

Method overloading

Operator overloading

Operator overloading

Operator overriding

Operator overriding

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

Please login to submit your explanation

Start

Question 9

Time: 00:00:00
Static methods cannot be accessed directly from the class level.

True

True

False

False

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

Please login to submit your explanation

Start

Question 10

Time: 00:00:00
Which of the following is not a part of OOP?

Multitasking

Multitasking

Information hiding

Information hiding

Type checking

Type checking

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

One comment on “InfyTQ OOPS Basic Quiz 1”