c++

Quiz
•
Computers
•
University
•
Hard
Used 781+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
JAVA Basics Quiz

Quiz
•
University
19 questions
DSA Quest 1.0

Quiz
•
University
20 questions
Beginner Quiz on ML and Python Basics

Quiz
•
University
18 questions
THE_COVER

Quiz
•
University
20 questions
Quiz Pemrograman Lanjut 2022/2023

Quiz
•
University
20 questions
Data Structure

Quiz
•
University
20 questions
Java, part I

Quiz
•
11th Grade - University
20 questions
Object Oriented Concepts Through CPP

Quiz
•
University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade