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.4.2. Categories of Ternary Strings
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 a ternary string?
Hint
Think about the number of different characters involved.
- 2.
What does 'strictly increasing sequence' mean?
Hint
Consider how each term compares to its predecessor.
- 3.
What is a ternary string?
- A string of two elements
- A string of three elements
- A string of four elements
Hint
Think about the prefix 'ternary' which suggests three.
- 4.
True or False: A sequence can be called strictly increasing if the same number appears twice.
- True
- False
Hint
Consider the definition of 'strict'.
- 5.
Construct the first five valid ternary strings of length 3 and derive T(3).
Hint
Focus on ensuring the sequences increase with each character.
- 6.
Prove that if T(n) is defined as above, T(5) is double T(4).
Hint
Use the established relationship we've discussed.
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