c++
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Used 791+ times
FREE Resource
Enhance your content in a minute
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What happens if an exception is thrown in a function, but not caught?
The program continues executing and it is ignored.
The function that throws the exception is exited.
The program terminates.
The compiler will find the error and the program would not compile.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the difference between an array and STL, Standard Template Library, array?
They are the same thing.
STL array is a dynamic array
Array size must be known at compile time but, STL array size does not.
Array is a data structure and STL array is an instance of a class.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
There can only be one catch block in a program
True
False
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The compiler creates an instance of a function template in memory as soon as it encounters the template.
True
False
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When a class becomes a friend of another class they are additionally getting access to:
Private
Protected
Public
None of the above
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When a class is derived from a base class it gets access to:
Private
Protected
Private and Protected
Protected and Public
Private, Protected and Public
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In a class the access specifiers are _______ by default:
Private
Protected
Public
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
20 questions
TEST FINAL - Configuración de Servicios Windows
Quiz
•
University
20 questions
Infrastructure (Network)
Quiz
•
University
20 questions
C Quest 2.0
Quiz
•
University
20 questions
PHP First Internal Practical Viva
Quiz
•
University
20 questions
Software Testing and Maintenance Quiz
Quiz
•
University
20 questions
Grade 7 Python Programming Quiz
Quiz
•
7th Grade - University
20 questions
Social Issues and Professional Practices Midterm Exam
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
