This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Which one of the following statements is true?
An If block may have unlimited alternative conditions.
An If block can have only five alternative conditions.
What is the difference between If and Switch blocks?
There is no unconditional case in a Switch block.
Switch blocks use the same input variable in all their cases.
When is the implementation of a Switch block recommended?
When you have to check the values of multiple variables against multiple values.
When you have to check the value of one variable against multiple values.
You must answer all questions before checking your work.
Continue
Was this page helpful?