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.
5.3. References and acknowledgements
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
2 cards from this lesson. Good the night before a test.
Try these first
- 1.
What is a finite alphabet?
Hint
Think of common alphabets or specific collections of symbols.
- 2.
How many strings can be formed from a binary alphabet of {0, 1} of length 1?
Hint
Count each symbol in this alphabet.
- 3.
Is the set of all strings over a finite alphabet countable?
- True
- False
Hint
Relate this to the definition of countability.
- 4.
If you have an alphabet of 5 characters, how many strings of length 3 can you create?
- 5
- 125
- 15
Hint
Apply the formula for counting strings.
- 5.
Show how you would create a sequence of valid strings using an alphabet of your choice. Explain your method.
Hint
Choose a simple alphabet to start, like {x, y, z}.
- 6.
Given a programming example, explain how to determine its validity based on your earlier discussions.
Hint
Review the definitions of valid programs discussed in class.
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