Question on OOAD Fundamentals Quiz-1

Question 1

Time: 00:00:00
The maximum number of comparisons required to search for element x in an array A of size n is _______.

N-1

N-1

N

N

1

1

(N-1)/2

(N-1)/2

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

Please login to submit your explanation

Start

Question 2

Time: 00:00:00
Dependency injection is a design pattern on which dependency of the object is injected by _______ rather than created by the object itself.

Class

Class

Application

Application

Framework

Framework

Inversion

Inversion

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

Please login to submit your explanation

Start

Question 3

Time: 00:00:00
How many arguments does postfix increment operator take by means of the member function?

 

One Argument

One Argument

Two Argument

Two Argument

Three Argument

Three Argument

No Argument

No Argument

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

Please login to submit your explanation

Start

Question 4

Time: 00:00:00
The object-oriented system allows inheriting more than one superclass,  what is this type of inheritance called as?

 

Superclass inheritance

Superclass inheritance

Multi-Class inheritance

Multi-Class inheritance

Circular inheritance

Circular inheritance

Multi inheritance

Multi inheritance

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

Please login to submit your explanation

Start

Question 5

Time: 00:00:00
Select the option that lists the features that are NOT characteristics of Object Oriented Programming.

i. OOP emphasizes on the data rather than procedure.

ii. in OOP the programs are divided into procedures.

iii. in OOP the data is hidden and external functions do not have access to it.

iv. OOP does not allow the objects to communicate with each other through function.

v. OOP makes it possible to add new data and function whenever required.

vi. OOP adheres to the bottom-up approach.

ii and iv

ii and iv

i and v

i and v

i, ii and iv

i, ii and iv

ii, iv, v, and vi

ii, iv, v, and vi

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

Please login to submit your explanation

Start

Question 6

Time: 00:00:00
The object-oriented system allows inheriting more than one superclass. What is the type of inheritance called as?

Multiple Inheritance

Multiple Inheritance

Circular Inheritance

Circular Inheritance

Superclass inheritance

Superclass inheritance

Multiple inheritance

Multiple inheritance

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

Please login to submit your explanation

Start

Question 7

Time: 00:00:00
What are the types of symbols and notations of use case diagram?

System, Use Case, Actors, Actors Relationships

System, Use Case, Actors, Actors Relationships

Application System, Use Case, Users, Relationships

Application System, Use Case, Users, Relationships

Application System, Use Case, Actors, Relationships

Application System, Use Case, Actors, Relationships

System, Use Case, Actors, Relationships

System, Use Case, Actors, Relationships

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

Please login to submit your explanation

Start

Question 8

Time: 00:00:00
What is the "OBJ" in the below code with reference to the "Rectangle object"?

Rectangle *OBJ;

Object Class

Object Class

Dynamic Pointer

Dynamic Pointer

Statically type pointer

Statically type pointer

Class inheritance

Class inheritance

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

Please login to submit your explanation

Start

Question 9

Time: 00:00:00
The term Incomplete for a UML has the same meaning as which of the following for an EER diagram?

Overlapping rule

Overlapping rule

Disjoint rule

Disjoint rule

Total specialization rule

Total specialization rule

Partial specialization rule

Partial specialization rule

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

Please login to submit your explanation

Start

Question 10

Time: 00:00:00
A UML diagram includes which of the following?

Class name

Class name

List of attributes

List of attributes

List of operations

List of operations

All of the above.

All of the above.

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! \n","Keep trying! \n","Not bad! \n","Good work! \n","Perfect! \n"]

Completed

0/0

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