
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
Edition 7ISBN: 1285225562
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
Edition 7ISBN: 1285225562 Exercise 14
Which of the following is a definite loop?
a. a loop that executes as long as a user continues to enter valid data
b. a loop that executes 1000 times
c. both of the above
d. none of the above
Step-by-step solution
Step 1 of 2
Definite Loop
A loop in which the number of repetitions is known before starting the execution of the loop is called a definite loop. In the option (b), the number of repetitions, that is 1000 known before.
Hence the correct option is (b) a loop that executes 1000 times .
Step 2 of 2
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
Why don’t you like this exercise?
Other Minimum 8 character and maximum 255 character
Character 255