QUIZ-3

QUIZ-3

University

10 Qs

quiz-placeholder

Similar activities

Clothing Construction Midterm Quiz 1

Clothing Construction Midterm Quiz 1

University

15 Qs

Planning & Decision Making

Planning & Decision Making

University

10 Qs

Program Trivia - MS Hosp, BS Hosp January 2022

Program Trivia - MS Hosp, BS Hosp January 2022

University

10 Qs

UDL and Blended Learning HILEN

UDL and Blended Learning HILEN

University

10 Qs

The Contents of Moral Education

The Contents of Moral Education

University

9 Qs

PRE & POST TEST TRAINING PERALATAN ESS

PRE & POST TEST TRAINING PERALATAN ESS

University

10 Qs

แบบทดสอบ Digital Circuit(ก่อนเรียน)

แบบทดสอบ Digital Circuit(ก่อนเรียน)

University

10 Qs

UHV 1_MCQs

UHV 1_MCQs

University

15 Qs

QUIZ-3

QUIZ-3

Assessment

Quiz

Education

University

Hard

Created by

gurpreet singh

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

while overloading binary operators using member function, it requires_____ argument/s.

Zero

One

Two

Three

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In case of operator overloading, operator must be ______

  1. 1. Static member functions

  2. 2. Non-static member functions

  3. 3. Friend Functions

Only 2

Only 1, 3

Only 2, 3

ALL

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We can overload almost all the C++ operators except the following.

i) Class member operator (.,.*)   ii) Assignment operator (=)
iii) Scope resolution operator (::) iv) Conditional operator (?:)

i, ii and iii only

ii, iii and iv only

i, iii and iv only

All

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do define the user-defined exceptions?

Inherting & overriding exception class functionlity

Overriding class functionlity

Inherting class functionlity

None

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements are true about Catch handler?

i) It must be placed immediately after try block T.

ii) It can have multiple parameters.

iii) There must be only one catch handler for every try block.

iv) There can be multiple catch handler for a try block T.

v) Generic catch handler can be placed anywhere after try block.

Only i, iv, v

Only i, ii, iii

Only i, iv

Only i, ii

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

predict the output?

Default Exception After Exception

Int Exception After Exception

Int Exception

Default Exception

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 It is not possible to combine two or more file opening mode in open () method.

True

False

May Be

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?