
QUIZ-3
Authored by gurpreet singh
Education
University
Used 4+ times

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
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
12 questions
Front office Organization
Quiz
•
University
10 questions
Affirmative Action
Quiz
•
University
15 questions
COVID19
Quiz
•
6th Grade - Professio...
15 questions
PRECISIÓN LÉXICA
Quiz
•
University
15 questions
Kuis tembang
Quiz
•
University
10 questions
QUARK
Quiz
•
University
12 questions
reserve bank of India -2
Quiz
•
9th Grade - Professio...
13 questions
Quiz Briefing of Outcome-based Education (OBE) OCT 2020
Quiz
•
University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Education
20 questions
Disney Trivia
Quiz
•
University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
14 questions
Ch.3_TEACHER-led
Quiz
•
University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University