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
++
B
II
C
*
D
AND
2) Which of these does not allow for multiple paths in a program?
A
ELSE
B
IF
C
BREAK
D
SWITCH
3) Which of these is typically not a part of a class?
A
Member functions
B
Structures
C
Constructors
D
Member variables
4) Which of these allows for multiple values of the same type to be stored under one name?
A
Variable
B
Array
C
Function
D
Class
5) Which library allows the use of files?
A
fstream
B
iostream
C
inputoutput
D
file
6) A function that calls itself over and over again until a certain condition is met is called:
A
Recursive
B
Static
C
Virtual
D
Infinite
7) Recursive functions can take the place of which of the following?
A
Classes
B
Control statements (IF-ELSE, Switch)
C
Loops (For, While, Do-While)
D
Functions
8) The first time a recursive function is activated is called the:
A
Virtual case
B
Switch case
C
Recursive case
D
Base case
9) Every object in the world can be represented via:
A
Structures
B
Variables
C
Classes
D
Functions
10) Which of these stops a recursive function and begins its return?
A
Control case
B
Base case
C
Switch 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?