Multiple Choice
Which of the following statements about nested if…else statements is true?
A) An if…else statement may not be nested in another nested if…else.
B) Each if…else statement must contain only a simple condition.
C) In an if body, an inner if…else executes only if the outer if statement's condition is true.
D) The statement(s) in an inner if always execute(s) if its condition is true.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: In an activity diagram for an algorithm,
Q2: The conditional operator (?:):<br>A) Is the only
Q3: Having a loop within a loop is
Q4: What is the final value of x
Q6: What is wrong with the following while
Q7: Which of the following is a double-selection
Q8: Assuming that x and y are equal
Q9: Which of the following operations has the
Q10: Which of the following statements is false?<br>A)
Q11: Pseudocode normally does not include:<br>A) Declarations.<br>B) Input/output.<br>C)