Some C++ ture and false and multiple choice question Left uncaught, a thrown exc
ID: 640660 • Letter: S
Question
Some C++ ture and false and multiple choice question
Left uncaught, a thrown exception will cause your program to terminate.
Select one:
a. FALSE
b. TRUE
Question 2
A variable of any type can be set to have the value NULL.
Select one:
a. TRUE
b. FALSE
Question 3
Any function, variable declaration or class method can be marked virtual.
Select one:
a. FALSE
b. TRUE
Question 4
For a class Foo, one difference between a variable declared Foo * and a variable declared Foo & is that only the variable declared Foo * can potentially have the value NULL.
Select one:
a. FALSE
b. TRUE
Question 5
Whenever they are passed as parameters to a function, the IO classes istream and ostream must be passed using a pass-by-value parameter passing scheme.
Select one:
a. TRUE
b. FALSE
Question 6
When no class constructors are supplied by the author of a class, that class will generated errors when compiled in C++.
Select one:
a. FALSE
b. TRUE
Question 7
The body of a do { ... } while(...); loop may never execute at all, depending on what test condition is stated.
Select one:
a. TRUE
b. FALSE
Question 8
The body of a while(...) { ... } loop will always executes atleast once, no matter what test condition is stated.
Select one:
a. FALSE
b. TRUE
Question 9
A throw(...) statement is an alternative way to return from a function or method that indicates some kind of failure occurred.
Select one:
a. FALSE
b. TRUE
Information
Flag question
Information text
Please consider the following code fragment when answering the next few questions:
char[] var1 =Explanation / Answer
1 False
2 False
3 True
4 True
5 False
6 True
7 False
8 False
9 True
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.