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

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

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

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

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

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

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

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

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

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

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

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