C++ Skills 1B Review - Part 1 Question Preview (ID: 16708)


Review For The C++ Skills 1B Exam. TEACHERS: click here for quick copy question ID numbers.

A function is a piece of code that sends a message to an object asking it to perform an action.
a) True
b) False
c)
d)

The logical operator symbol || represents:
a) Conditional-OR
b) Conditional-AND
c) NOT
d) Not used in programming

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
c)
d)

A float or double variable holds:
a) Decimal numbers
b) Whole numbers
c) True or false
d) A single Unicode character

Which of the following is a relational operator?
a) =
b)
c) /
d) -

An Integer variable holds:
a) Whole numbers
b) True or false
c) Decimal numbers
d) A single Unicode character

A char variable holds:
a) A single Unicode character
b) Whole numbers
c) Decimal numbers
d) True or false

Keeping variable names short (i.e. 'x', 'y', 'i') is good programming practice and makes it easy to find.
a) False
b) True
c)
d)

Boolean variables store:
a) True or false
b) Whole numbers
c) Decimal numbers
d) A single Unicode character

Math expressions (or formulas) aren't useful in computer programming.
a) False
b) True
c)
d)

A variable is:
a) A container that stores a specific type of data for retrieval
b) A random unknown that causes bugs
c) A container that can only hold a single letter
d) Not used in computers

Loops can be repeated infinitely.
a) True
b) False
c)
d)

A conditional loop does not end once a condition is no longer satisfied.
a) False
b) True
c)
d)

A control statement that can take one of two or more paths based on a single condition is the:
a) IF control statement
b) WHILE control statement
c) DO-WHILE control statement
d) FOR control statement

In a flowchart, an IF control statement is represented by a:
a) Diamond
b) Rectangle
c) Circle
d) Triangle

When a subclass retains all the characteristics and abilities of a superclass, it is called:
a) Inheritance
b) Subclassing
c) Polymorphism
d) Children

An object created from a class is called:
a) Instance
b) Thing
c) Class
d) Subclass

Where are the variable arguments located in a function?
a) After the function name, inside parenthesis
b) Before the function name and return type
c) Before the function name but after the return type
d) Not used in functions

Which of these best defines 'debugging'?
a) Process of finding software bugs and fixing them
b) Process of finding spraying a house for bugs
c) Process of finding software bugs and leaving them alone
d) Process of finding bugs

The first step in the problem solving process is:
a) Identify the problem
b) Develop a solution
c) Implement the solution
d) Test and revise the solution

Play Games with the Questions above at ReviewGameZone.com
To play games using the questions from above, visit ReviewGameZone.com and enter game ID number: 16708 in the upper right hand corner or click here.

TEACHERS / EDUCATORS
Log In
| Sign Up / Register