Deck 5: Control Structures II Repetition

ملء الشاشة (f)
exit full mode
سؤال
How do you avoid an infinite loop?
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The loop control variable for a while loop must be initialized before the while loop.
سؤال
The expression in a while loop checks whether a variable, called the ____________________, satisfies certain conditions.
سؤال
A(n) ____________________ is an arbitrary value that, when read, stops the execution of a loop.
سؤال
How many times does the initial statement of a for loop execute?
سؤال
A semicolon at the end of a for statement is a semantic error.
سؤال
What is the purpose of the third expression of the for statement?
سؤال
If the loop condition in a for statement is omitted, it is assumed to be false.
سؤال
What does these terms refer to:

- \gg Counter-controlled while loop:
سؤال
What does these terms refer to:

- \gg Decision maker:
سؤال
What does these terms refer to:

- \gg Divisor:
سؤال
What does these terms refer to:

- \gg End-of-file (EOF)-controlled while loop:
سؤال
What does these terms refer to:

- \gg Fibonacci number:
سؤال
What does these terms refer to:

- \gg Fibonacci sequence:
سؤال
What does these terms refer to:

- \gg Flag variable:
سؤال
What does these terms refer to:

- \gg Flag-controlled while loop:
سؤال
What does these terms refer to:

- \gg for loop (indexed loop):
سؤال
What does these terms refer to:

- \gg for loop control variable:
سؤال
What does these terms refer to:

- \gg Infinite loop:
سؤال
What does these terms refer to:

- \gg Loop control variable (LCV):
سؤال
What does these terms refer to:

- \gg Nesting:
سؤال
What does these terms refer to:

- \gg Posttest loop:
سؤال
What does these terms refer to:

- \gg Pretest loop:
سؤال
What does these terms refer to:

- \gg Sentinel:
سؤال
What does these terms refer to:

- \gg Sentinel-controlled while loop:
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/25
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 5: Control Structures II Repetition
1
How do you avoid an infinite loop?
Verify that the loop's body contains statement(s) that assure the exit condition will eventually be false.
2
The loop control variable for a while loop must be initialized before the while loop.
True
3
The expression in a while loop checks whether a variable, called the ____________________, satisfies certain conditions.
loop control variable (LCV)
loop control variable
LCV
4
A(n) ____________________ is an arbitrary value that, when read, stops the execution of a loop.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
5
How many times does the initial statement of a for loop execute?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
6
A semicolon at the end of a for statement is a semantic error.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
7
What is the purpose of the third expression of the for statement?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
8
If the loop condition in a for statement is omitted, it is assumed to be false.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
9
What does these terms refer to:

- \gg Counter-controlled while loop:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
10
What does these terms refer to:

- \gg Decision maker:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
11
What does these terms refer to:

- \gg Divisor:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
12
What does these terms refer to:

- \gg End-of-file (EOF)-controlled while loop:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
13
What does these terms refer to:

- \gg Fibonacci number:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
14
What does these terms refer to:

- \gg Fibonacci sequence:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
15
What does these terms refer to:

- \gg Flag variable:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
16
What does these terms refer to:

- \gg Flag-controlled while loop:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
17
What does these terms refer to:

- \gg for loop (indexed loop):
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
18
What does these terms refer to:

- \gg for loop control variable:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
19
What does these terms refer to:

- \gg Infinite loop:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
20
What does these terms refer to:

- \gg Loop control variable (LCV):
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
21
What does these terms refer to:

- \gg Nesting:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
22
What does these terms refer to:

- \gg Posttest loop:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
23
What does these terms refer to:

- \gg Pretest loop:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
24
What does these terms refer to:

- \gg Sentinel:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
25
What does these terms refer to:

- \gg Sentinel-controlled while loop:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.