A logical structure called a(n) ____ structure is when one step follows another unconditionally.

A logical structure called a(n) ____ structure is when one step follows another unconditionally.

An alternative to using a Boolean expression, such as someVariable == 10, is to store the Boolean expression's value in a Boolean variable.

Free

True False

Although it is possible to block statements that depend on an if, you cannot likewise block statements that depend on an else.

Free

True False

Computers contain switches that are set to on or off.

Free

True False

When you place a block within an if statement, it is crucial to place the ____ correctly.

Multiple Choice

A ____ consists of written steps in diagram form, as a series of shapes connected by arrows.

Multiple Choice

A(n) ____ statement is the decision structure you use when you need to take one or the other of two possible courses of action.

Multiple Choice

When writing a statement with the two-line format, you must be sure to type a semicolon at the end of the first line in order to ensure accurate results.

True False

The simplest statement you can use to make a decision is the ____ statement.

Multiple Choice

A logical structure called a(n) ____ structure is when one step follows another unconditionally.

Multiple Choice

Statements in which an if structure is contained inside another if structure are commonly called ____ if statements.

Multiple Choice

When you block statements, you must remember that any ____ you declare within a block is local to that block.

Multiple Choice

Although not required, it is common procedure to align the keyword if with the keyword else.

True False

When you execute an if…else statement, only one of the resulting actions takes place depending on the evaluation of the ____ following the if.

Multiple Choice

Just as you can block statements that depend on an if, you can also block statements that depend on a(n) ____.

Multiple Choice

In the switch structure, break is followed by one of the possible values for the test expression and a colon.

True False

You write pseudocode in everyday language, not the syntax used in a programming language.

True False

When you use nested if statements, you must pay careful attention to placement of any else clauses.

True False

When you create a block, you must place multiple statements within it.

True False

When an expression containing a ____ is part of an if statement, the assignment is illegal.

Multiple Choice

Range checking and the switch statement are tools programmers can use for effective decision making.

True False

What is the logical structure in which one instruction occurs after another with no branching?

A sequence structure is a logical structure, in which one program statement occurs after another statement without branching. Hence, correct answer is option “ A ”.

What type of structure involves choosing between alternative courses of action based on some value within a program?

Chapter 03 Key Terms Review.

When writing a statement with the two line format you must be sure to type a semicolon?

When writing a statement with the two-line format, you must be sure to type a semicolon at the end of the first line in order to ensure accurate results. Although it is possible to block statements that depend on an if, you cannot likewise block statements that depend on an else.

When you create a block you must place multiple statements within it true false?

When you create a block, you must place multiple statements within it. When you use nested if statements, you must pay careful attention to placement of any else clauses. In the switch structure, break is followed by one of the possible values for the test expression and a colon.