Try out our new practice tests completely free!

# Programming Logic and Design Comprehensive

Computing

Bookmark

## Quiz 4 : Making Decisions

A series of nested if statements is also called a ____ if statement.
Free
Multiple Choice

B

The ____ clause of the decision is the part that executes only when the tested condition in the decision is false.
Free
Multiple Choice

C

Both operands in a comparison expression must be the same ____.
Free
Multiple Choice

D

Most programming languages limit the number of AND and OR operators in an expression.
True False
You can use parentheses to override the default order of operations.
True False
A ____ expression is one that represents only one of two states,usually expressed as true or false.
Multiple Choice
You use the case structure only when a series of decisions is based on a single expression.
True False
When you need to satisfy two or more criteria to initiate an event in a program,you must make sure that the second decision is made entirely independently of the first decision.
True False
Usually,____ variables are not considered to be equal unless they are identical.
Multiple Choice
Most languages allow a specialized selection structure called the ____ structure when there are several distinct possible values for a single variable,and each value requires a different subsequent action.
Multiple Choice
Most programming languages allow you to ask two or more questions in a single comparison.
True False
The ____ clause is the part of the decision that holds the action or actions that execute when the tested condition in the decision is true.
Multiple Choice
When you ask multiple questions before an outcome is determined,you create a ____ condition.
Multiple Choice
Any decision can be made using combinations of just two types of comparisons: equal and not equal.
True False
In any comparison,the two values compared can be either variables or constants.
True False
When you combine AND and OR operators,the OR operators take precedence,meaning their Boolean values are evaluated first.
True False