
QUIZ-3

Quiz
•
Education
•
University
•
Hard
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. Static member functions
2. Non-static member functions
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
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
Similar Resources on Wayground
10 questions
JTerm on the Italian Coast

Quiz
•
University
7 questions
Ratha Yatra quiz 2

Quiz
•
University
10 questions
Library Quiz: Quality and Operations Management

Quiz
•
University
11 questions
Takaful Knowledge

Quiz
•
University
7 questions
Critical Thinking in Business Research Methods

Quiz
•
University
11 questions
Inclusion and Education Quiz

Quiz
•
University
10 questions
S1 - Data

Quiz
•
11th Grade - University
12 questions
JAVA FUNDAMENTALS

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Education
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University