expand icon
book Programming Logic and Design, Introductory 7th Edition by Joyce Farrell cover

Programming Logic and Design, Introductory 7th Edition by Joyce Farrell

النسخة 7الرقم المعياري الدولي: 1285225562
book Programming Logic and Design, Introductory 7th Edition by Joyce Farrell cover

Programming Logic and Design, Introductory 7th Edition by Joyce Farrell

النسخة 7الرقم المعياري الدولي: 1285225562
تمرين 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

الحلول خطوة بخطوة
موثّق
like image
like image

الخطوة 1 من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 .


الخطوة 2 من 2

close menu
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
cross icon