
C++ Templates and Exceptions

Quiz
•
Computers
•
University
•
Medium
Sheryl A
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The functions and classes which are _____________are called generics
data type dependent
type dependent
data type independent
data type incorrect
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Generic Programming reduces ____________and _________
Code repetition
In-demand compilation
Both A and B
None
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A function template behaves like a function except that the template can have arguments of many different types
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A class template provides a __________ based on parameters.
specification for generating classes
can have arguments
Both A and B
None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Templates are _________
used less code than overloaded C++ functions.
type safe.
instantiated at compile-time with the source code.
All the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the things does not require instantiation?
functions
non virtual member function
member class
all of the mentioned
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to check exception in the block of code?
catch
throw
try
handlers
Create a free account and access millions of resources
Similar Resources on Wayground
6 questions
Python Day 9

Quiz
•
University
7 questions
Intro to Python

Quiz
•
University
10 questions
C - Pointers

Quiz
•
University
10 questions
Java variables

Quiz
•
University
10 questions
Error detection techniques

Quiz
•
University
10 questions
java script

Quiz
•
University
15 questions
Coding club Summit Online Quiz

Quiz
•
University
7 questions
exceptions in python

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

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

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University