Review Game Zone
Flash Cards
(current)
Games
Teachers
Search
C++ Skills 1B Review - Part 1
Test Description: Review for the C++ Skills 1B exam
Instructions: Answer all questions to get your test result.
1) The first step in the problem solving process is:
A
Test and revise the solution
B
Implement the solution
C
Develop a solution
D
Identify the problem
2) Which of these best defines 'debugging'?
A
Process of finding software bugs and leaving them alone
B
Process of finding spraying a house for bugs
C
Process of finding bugs
D
Process of finding software bugs and fixing them
3) An object created from a class is called:
A
Class
B
Thing
C
Instance
D
Subclass
4) Where are the variable arguments located in a function?
A
Not used in functions
B
Before the function name and return type
C
After the function name, inside parenthesis
D
Before the function name but after the return type
5) When a subclass retains all the characteristics and abilities of a superclass, it is called:
A
Subclassing
B
Children
C
Inheritance
D
Polymorphism
6) In a flowchart, an IF control statement is represented by a:
A
Rectangle
B
Diamond
C
Circle
D
Triangle
7) A control statement that can take one of two or more paths based on a single condition is the:
A
IF control statement
B
DO-WHILE control statement
C
FOR control statement
D
WHILE control statement
8) Loops can be repeated infinitely.
A
False
B
True
9) A conditional loop does not end once a condition is no longer satisfied.
A
False
B
True
10) Math expressions (or formulas) aren't useful in computer programming.
A
True
B
False
11) A variable is:
A
A container that can only hold a single letter
B
Not used in computers
C
A container that stores a specific type of data for retrieval
D
A random unknown that causes bugs
12) Keeping variable names short (i.e. 'x', 'y', 'i') is good programming practice and makes it easy to find.
A
False
B
True
13) Boolean variables store:
A
A single Unicode character
B
True or false
C
Whole numbers
D
Decimal numbers
14) An Integer variable holds:
A
A single Unicode character
B
Decimal numbers
C
Whole numbers
D
True or false
15) A char variable holds:
A
Decimal numbers
B
A single Unicode character
C
Whole numbers
D
True or false
16) A float or double variable holds:
A
A single Unicode character
B
Whole numbers
C
True or false
D
Decimal numbers
17) Which of the following is a relational operator?
A
-
B
/
C
=
18) The logical operator symbol || represents:
A
NOT
B
Not used in programming
C
Conditional-AND
D
Conditional-OR
19) When you use an assignment operator (=), the place where you want the result to be stored should be written on the left side of the equals sign (=).
A
True
B
False
20) A function is a piece of code that sends a message to an object asking it to perform an action.
A
False
B
True
*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?