Search Header Logo

C++ set 3

Authored by ESPARK 2023

Other

University

Used 3+ times

C++ set  3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Exceptions are Caught at ?

(A) Compilation Time

(B) Run Time

(C) Linking Time

(D) No

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is CPP style type-casting?

a. per = total/(float)m

b. per = total/float(m)

c. per = (float)total/m

d. None of these

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

choose correct option

A. Its base class Its derived class

B. Its base class Its derived class

C. Its derived classIts base class

D. Its derived class Its base class

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

A private function of a derived class can be accessed by the parent class.

A. TRUE

B. FALSE

C. May Be

D. Can't Say

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following access specifier is used as a default in a class definition?

A. Private

B. Public

C. Friend

D. Protected

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The order in which operands are evaluated in an expression is predictable if the operator is

A. Addition

B. Modulus

C. Multiply

D. &&

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

IS A relationship in C++ is

A. Inheritance

B. Encapsulation

C. Composition

D. None of the above

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?