Multiple Choice
What happens if none of the when statements in a case code block match the value of the expression that is evaluated?
A) The statements belonging to the else statement (if present) are executed
B) The last when statements belonging to the last when statement is executed
C) All of the statements belonging to the when statements are executed
D) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Q14: To determine if one value is greater
Q15: Ruby provides access to a number of
Q16: Advantages of the if and unless expressions
Q17: The Case statement is a conditional evaluation
Q18: The exit method is provided by the
Q20: The case block provides programmers with the
Q21: To save a few keystrokes, Ruby allows
Q22: Which of the following is not true
Q23: You can use conditional modifiers to group
Q24: The unless expression is the polar opposite