Filters
Question type

What does these terms refer to: - ≫ \gg Rightmost bit (of x):

Correct Answer

verifed

verified

the remainder of x after division by 2

In recursion, the case for which a solution is obtained directly is called the ____________________ case.

Correct Answer

verifed

verified

A(n) ____________________ function is a function in which the last step executed is the recursive call.

Correct Answer

verifed

verified

tail recursive

What does these terms refer to: - ≫ \gg Recursive algorithm:

Correct Answer

verifed

verified

an algorithm that finds the solution to ...

View Answer

What does these terms refer to: - ≫ \gg General case:

Correct Answer

verifed

verified

in a recursive algorithm, the ...

View Answer

What does these terms refer to: - ≫ \gg Directly recursive:

Correct Answer

verifed

verified

a recursiv...

View Answer

What does these terms refer to: - ≫ \gg Indirectly recursive:

Correct Answer

verifed

verified

a recursive function...

View Answer

____________________ control structures use a looping structure.

Correct Answer

verifed

verified

What does these terms refer to: - ≫ \gg Recursive function:

Correct Answer

verifed

verified

a function that calls itself, either directly or indirectly

What does these terms refer to: - ≫ \gg Recursion:

Correct Answer

verifed

verified

the process of solvi...

View Answer

An iterative function executes more slowly than its recursive counterpart.

A) True
B) False

Correct Answer

verifed

verified

What does these terms refer to: - ≫ \gg Iterative control structures:

Correct Answer

verifed

verified

use a looping struct...

View Answer

What does these terms refer to: - ≫ \gg Recursive definition:

Correct Answer

verifed

verified

a definition in whic...

View Answer

In a recursive algorithm, a general case must eventually be reduced to a base case.

A) True
B) False

Correct Answer

verifed

verified

What does these terms refer to: - ≫ \gg Tail recursive function:

Correct Answer

verifed

verified

a recursive function...

View Answer

What does these terms refer to: - ≫ \gg Base case:

Correct Answer

verifed

verified

in a recursive algor...

View Answer

In the Fibonacci sequence, the third Fibonacci number is the ____________________ of the first two numbers.

Correct Answer

verifed

verified

Define recursion.

Correct Answer

verifed

verified

Recursion is a proce...

View Answer

Showing 1 - 18 of 18

Related Exams

Show Answer