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.3. Enumeration of subsets Π(i)
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 does it mean for a set to be countable?
Hint
Think about how we list numbers.
- 2.
List the strings in Π(1) if the alphabet is {x, y, z}.
Hint
What length are we considering?
- 3.
What is the definition of countable?
- A set with infinite elements
- A set that can be enumerated
- Any standard set
Hint
Think about whether you can write down the elements.
- 4.
True or False: Every programming language has an infinite number of possible valid programs.
- True
- False
Hint
Consider the flexibility of adding more code.
- 5.
If we have an alphabet with wild-card symbols that can represent multiple characters, how does this affect the countability of the set of strings?
Hint
Think about how those wildcards change the strings.
- 6.
Consider the implications if we allowed strings of infinite length. How would that affect the concept of countability?
Hint
What is the difference between finite and infinite 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
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