Questions: Recurrence Relations and Their Definitions

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

The recurrence T(n) = 2T(n−1) with T(1) = 3 gives the sequence 3, 6, 12, 24, .... What sequence does T(n) = 2T(n−1) with T(1) = 1 produce?

A3, 6, 12, 24, ... — the recurrence determines the sequence, not the initial value.
B1, 2, 4, 8, ... — a different initial condition produces a different sequence.
C0, 1, 2, 4, ... — the sequence shifts by one position when T(1) changes.
D1, 3, 6, 12, ... — the new first term is prepended before the original sequence.
Question 2 Multiple Choice

A person climbs a staircase by taking 1 or 2 steps at a time. Let f(n) be the number of distinct ways to climb n stairs. Which recurrence captures this correctly?

Af(n) = 2 × f(n−1), because at every step there are always two choices.
Bf(n) = f(n−1) × f(n−2), because the two sub-problems multiply together.
Cf(n) = f(n−1) + f(n−2), because the last move was either 1 step (from position n−1) or 2 steps (from position n−2).
Df(n) = n × f(n−1), because more stairs means proportionally more paths.
Question 3 True / False

The same recurrence relation with different initial conditions can produce entirely different sequences.

TTrue
FFalse
Question 4 True / False

A recurrence relation alone is sufficient to uniquely determine a sequence.

TTrue
FFalse
Question 5 Short Answer

Why are initial conditions an essential component of a recurrence relation definition, and what goes wrong if they are omitted?

Think about your answer, then reveal below.