Chapter 4 Review Questions PDF

Title Chapter 4 Review Questions
Author Keenan Wells
Course Introduction to Computer Programming
Institution Hallmark University
Pages 1
File Size 35.9 KB
File Type PDF
Total Downloads 96
Total Views 170

Summary

Review...


Description

Chapter 4 Review Question 1. A condition -controlled loop uses a true/false condition to control the number of times that it repeats. 2. A count -controlled loop repeats a specific number of times. 3. Each repetition of a loop is known as a(n) iteration. 4. The while loop is a pretest type of loop. 5. A(n) infinite loop has no way of ending and repeats until the program is interrupted. 6. The -= operator is an example of a(n) augment assignment operator. 7. A(n) accumulator variable keeps a running total. 8. A(n) sentinel is a special value that signals when there are no more items from a list of items to be processed. This value cannot be mistaken as an item from the list. 9. GIGO stands for garbage in, garbage out. 10. The integrity of a program’s output is only as good as the integrity of the program’s input. 11. The input operation that appears just before a validation loop is known as the priming read. 12. Validation loops are also known as error traps....


Similar Free PDFs