Deck 15: Recursion

ملء الشاشة (f)
exit full mode
سؤال
Define recursion.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
In recursion, the case for which a solution is obtained directly is called the ____________________ case.
سؤال
In a recursive algorithm, a general case must eventually be reduced to a base case.
سؤال
A(n) ____________________ function is a function in which the last step executed is the recursive call.
سؤال
In the Fibonacci sequence, the third Fibonacci number is the ____________________ of the first two numbers.
سؤال
____________________ control structures use a looping structure.
سؤال
An iterative function executes more slowly than its recursive counterpart.
سؤال
What does these terms refer to:

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

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

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

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

- \gg Iterative control structures:
سؤال
What does these terms refer to:

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

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

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

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

- \gg Rightmost bit (of x):
سؤال
What does these terms refer to:

- \gg Tail recursive function:
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/18
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 15: Recursion
1
Define recursion.
Recursion is a process of solving a problem by reducing it to smaller versions of itself.
2
In recursion, the case for which a solution is obtained directly is called the ____________________ case.
base
3
In a recursive algorithm, a general case must eventually be reduced to a base case.
True
4
A(n) ____________________ function is a function in which the last step executed is the recursive call.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 18 في هذه المجموعة.
فتح الحزمة
k this deck
5
In the Fibonacci sequence, the third Fibonacci number is the ____________________ of the first two numbers.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 18 في هذه المجموعة.
فتح الحزمة
k this deck
6
____________________ control structures use a looping structure.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 18 في هذه المجموعة.
فتح الحزمة
k this deck
7
An iterative function executes more slowly than its recursive counterpart.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 18 في هذه المجموعة.
فتح الحزمة
k this deck
8
What does these terms refer to:

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

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

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

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

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

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

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

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

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

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

- \gg Tail recursive function:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 18 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 18 في هذه المجموعة.