Answer the following statements true (T) or false (F)
1. A nested decision structure can be used to test more than one condition.
2. A nested decision structure can achieve the same logic as a case structure.
3. The first line of a case structure starts with the word CASE, followed by the test expression.
4. A decision structure will produce unpredictable results if the programmer does not use proper indentation in the pseudocode.
5. An If-Then-Else statement must be used to write a single alternative decision structure.
1. TRUE
2. TRUE
3. FALSE
4. FALSE
5. FALSE
You might also like to view...
What kernel mode component on Windows 10, insulates the kernel and device drivers from the complexities of the hardware?
A. Device Drivers B. Executive C. Hardware abstraction layer D. Application
A variation of the While loop was developed to combine all three loop control components and place them on the same line: the ____.
A. For loop B. posttest loop C. indefinite loop D. indeterminate loop
A rectangular frame called a(n) ________ contains common elements such as the Address bar, title bar, and status bar
Fill in the blank(s) with correct word
The ____ statement always creates a posttest loop.
A. while B. do-while C. for D. repeat-until