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.1.4. Valid sequencing of elements in the set Π*
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.
Define what a countable set is.
Hint
Think about how we can list items.
- 2.
What is an example of a finite alphabet?
Hint
Consider any limited set of characters.
- 3.
What characterizes a countable set?
- Can be infinite
- Can be matched with natural numbers
- Limited to three elements
Hint
Think about how we arrange or list elements.
- 4.
Is Π* finite or infinite?
- True
- False
Hint
Consider the growing number of strings.
- 5.
Given an alphabet of characters {x, y, z}, enumerate all strings of length 2 and 3, discussing your sequence strategy.
Hint
Start with the shorter length and iterate.
- 6.
Explain how you can create a valid program from a basic structure. Show how the set of valid programs remains countable.
Hint
Think about building on existing valid structures.
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