Answer the following statements true (T) or false (F)

1. The If/Else instruction uses a Boolean condition to determine which set of instructions to execute.
2. The Else part of the If/Else instruction must have at least one statement.
3. The If/Else instruction cannot contain another If/Else instruction.
4. The only way that a nested If/Else instruction will execute is for the condition of the outer If/Else instruction to be true.
5. If a = 6 and b = 6, then the expression a != b is true.


1. TRUE
2. FALSE
3. FALSE
4. TRUE
5. FALSE

Computer Science & Information Technology

You might also like to view...

Explain how an aggregate function differs from a calculated field

What will be an ideal response?

Computer Science & Information Technology

Which of the following malware types typically allows Pete, an attacker, to monitor a user's computer, is characterized by a drive-by download, and requires no user interaction?

A. Virus B. Logic bomb C. Spyware D. Adware

Computer Science & Information Technology

What type of loop is often used in programs that allow the user to select from a menu?

A. pretest B. posttest C. for D. while

Computer Science & Information Technology

A payroll clerk can often make the final decision on whether a new payroll software package is needed.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology