Define Repetition Structures.
What will be an ideal response?
1. Present the basic algorithm steps of standard loops.
2. Discuss the use of loops to process lists of data values.
3. Demonstrate loop behavior through a trace.
4. Compare the for and while loops and show their use in sentinel-controlled, input-failure-controlled loops, and counting loops.
5. Introduce batch processing with program-controlled input and output files.
6. Present operators with side effects¾compound assignment and increment/decrement operators.
7. Show how loops can display tables of information.
8. Discuss output formatting for alignment of data.
9. Introduce the use of the do-while loop for input validation.
10. Describe data stream error detection and recovery.
You might also like to view...
Briefly explain why you might choose Simple Markup view over All Markup view when editing a shared document
What will be an ideal response?
What can you do to reduce the use of virtual memory?
What will be an ideal response?