Review Game Zone
Flash Cards
(current)
Games
Teachers
Search
Computer Programming 2 - 1
Test Description: Computer Programming 2 - Question set 1
Instructions: Answer all questions to get your test result.
1) Which of these is not considered a valid operator?
A
AND
B
II
C
*
D
++
2) Which of these does not allow for multiple paths in a program?
A
IF
B
SWITCH
C
ELSE
D
BREAK
3) Which of these is typically not a part of a class?
A
Member variables
B
Structures
C
Constructors
D
Member functions
4) Which of these allows for multiple values of the same type to be stored under one name?
A
Class
B
Array
C
Variable
D
Function
5) Which library allows the use of files?
A
iostream
B
inputoutput
C
file
D
fstream
6) A function that calls itself over and over again until a certain condition is met is called:
A
Virtual
B
Infinite
C
Static
D
Recursive
7) Recursive functions can take the place of which of the following?
A
Loops (For, While, Do-While)
B
Functions
C
Classes
D
Control statements (IF-ELSE, Switch)
8) The first time a recursive function is activated is called the:
A
Base case
B
Recursive case
C
Switch case
D
Virtual case
9) Every object in the world can be represented via:
A
Classes
B
Variables
C
Structures
D
Functions
10) Which of these stops a recursive function and begins its return?
A
Control case
B
Switch case
C
Base case
D
Stop case
*select an answer for all questions
Check Results & Get Answers
Play Games with the Questions Above
Teachers: Create FREE classroom games with your questions
Click for more info!
©2007-2024
ReviewGameZone.com
|
About
|
Privacy
|
Contact
|
Terms
|
Site Map
WAIT! Find what you needed?
×
Still Looking for the Answers?
Have Another Question?
Play a Review Game with These Questions?
Want to Make Your Own Test Like This One?