Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is the base condition for counting strings of length 1 and 2?
Think of the possible strings.
Write the recurrence relation for counting bit strings with no consecutive zeros.
Think about where a string can start.
What is a recurrence equation?
Consider how terms can be calculated based on earlier values.
True or False: The Fibonacci sequence is an example of a recurrence relation.
Think of how Fibonacci is traditionally defined.
Given C(1) = 2, C(2) = 3. Using the derived relation, calculate C(8) and provide the reasoning for each step.
Draw out or visualize a tree for each sequence.
Construct a different counting function that also uses a recurrence relation and compare its properties with our strings without consecutive zeros.
Identify how many strings might be invalid and adjust the relations accordingly.
5 more questions in this section. Enroll free to practise them all.
Enroll free