
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
النسخة 7الرقم المعياري الدولي: 1285225562
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
الحلول خطوة بخطوة
الخطوة 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
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
لماذا لم يعجبك هذا التمرين؟
أخرى 8 أحرف كحد أدنى و 255 حرفاً كحد أقصى
حرف 255