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.
16.2. Bit Strings with Substring '000'
This section
Practice test
11 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
2 cards from this lesson. Good the night before a test.
Try these first
- 1.
What is the total number of bit strings of length 1?
Hint
Think of all possible combinations of 0s and 1s.
- 2.
Provide the valid strings of length 2 without '000'.
Hint
List all combinations of 2 bits.
- 3.
What is
B(n)?Hint
Consider what B(n) represents in our earlier explanations.
- 4.
How many bits strings of length 3 are valid for A(3)?
- 1
- 2
- 4
- 7
Hint
Count the valid strings without the substring '000'.
- 5.
Determine the number of valid bit strings of length 6 without the substring '000'.
Hint
Ensure you use A(3), A(4), and A(5) correctly.
- 6.
If
ngrows larger, what would be the limiting behavior of the ratio B(n)/A(n)? Explain.Hint
Think about the overall growth patterns of Fibbonaci-like sequences.
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
1 more question 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