Enrol to start learning
Reading is open to everyone. Enrolling is free, and it is what unlocks the audio lessons, practice tests and progress tracking.
13. Counting Using Recurrence Equations
This section
Practice test
12 questions on this section. Wrong answers show you what to read again.
Sign up to take itWhole chapter
Revision test
Mixed questions from across the chapter. Your answers get marked.
Sign up to take itQuick
Flashcard drill
4 cards from this lesson. Good the night before a test.
Try these first
- 1.
Define a recurrence equation.
Hint
Think about how you can express one term through others.
- 2.
What is A(1) for bit strings not containing consecutive zeros?
Hint
Consider the possible 1-bit strings.
- 3.
What is a recurrence equation?
- A function of previous outputs
- A linear equation
- An iterative formula
Hint
Think of its role in sequences.
- 4.
True or False: The Fibonacci sequence is an example of a recurrence relation.
- True
- False
Hint
Consider how Fibonacci numbers relate.
- 5.
Consider an application where you are counting paths in a grid that do not retrace steps. How would you set up a recurrence relation?
Hint
Consider possible moves at each grid point.
- 6.
Propose a unique challenge problem involving recurrence relations that is applicable in computer algorithms.
Hint
Explore how to build trees based on left and right nodes.
Exercises
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
4 more questions available
Enrol freeQuiz
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
2 more questions available
Enrol freeChallenge Problems
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting