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.2. Categories of Bad Strings
This section
Practice test
10 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
3 cards from this lesson. Good the night before a test.
Try these first
- 1.
What is a bad string?
Hint
Think about what sequences you would want to exclude.
- 2.
How many valid strings of length 2 exist?
Hint
List all the possible strings of length 2.
- 3.
What is the characteristic of a bad string?
- Contains '000'
- Does not contain '000'
- Has mixed characters
Hint
Remember the definition from class.
- 4.
True or False: All strings of length 3 contain a valid configuration based on our recurrence relation.
- True
- False
Hint
Think about examples of string patterns.
- 5.
Calculate and prove using previous calculated values.
Hint
Refer back to your established pattern and apply modified counts.
- 6.
Find a pattern by plotting values of against , and deduce future terms.
Hint
What do the numbers suggest?
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
Get your answers marked and your progress tracked
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