Cplusplus Programming Class Relationships Online Exam Quiz

Cplusplus Programming Class Relationships GK Quiz. Question and Answers related to Cplusplus Programming Class Relationships. MCQ (Multiple Choice Questions with answers about Cplusplus Programming Class Relationships

How many types of Association can be there between classes?

Options

A : 1

B : 2

C : 3

D : 4

View Answer

How many types of class relationships are there?

Options

A : 1

B : 2

C : 3

D : 4

View Answer

What is the class relationship?

Options

A : A relationship between classes that tells how they are related

B : A relationship between classes that tells how much power one class has over other class

C : A relationship between classes that tells which parts of a class is visible to other classes

D : All of the mentioned

View Answer

Composition is also a type of _______________ relationship.

Options

A : Aggregation

B : Association

C : Inheritance

D : Both Aggregation an Association

View Answer

In which of the following relationship objects of related classes can occur independently?

Options

A : Aggregation

B : Association

C : Composition

D : Both Aggregation an Association

View Answer

Which of the following relationships is uni-directional?

Options

A : Aggregation

B : Association

C : Composition

D : Both Aggregation and Composition

View Answer

In which of the following relationship objects of related classes are strongly dependent?

Options

A : Aggregation

B : Association

C : Composition

D : Both Composition an Association

View Answer

Which type of relationship is modelled by Inheritance?

Options

A : Is-A relationship

B : Has-A relationship

C : Part-Of relationship

D : Belongs-to relationship

View Answer

Which type of relationship is modelled by Aggregation?

Options

A : Is-A relationship

B : Has-A relationship

C : Part-Of relationship

D : Have-A relationship

View Answer

Which type of relationship is modelled by Association?

Options

A : Is-A relationship

B : Has-A relationship

C : Part-Of relationship

D : Have-A relationship

View Answer

Chemical Engineering Basics - Part 1 more Online Exam Quiz

Cplusplus Programming Bitset 1

Cplusplus Programming Bitset 2

Cplusplus Programming Character Classification

Cplusplus Programming Classes 2

C Plus Plus Programming Class Hierarchies

Cplusplus Programming Class Templates

Cplusplus Programming Command Line Arguments

Cplusplus Programming Complex Library 1

Cplusplus Programming Complex Library 2

Cplusplus Programming Constructors Destructors 1