Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What does it mean for a set to be countable?
Think about how we list numbers.
List the strings in Π(1) if the alphabet is {x, y, z}.
What length are we considering?
What is the definition of countable?
Think about whether you can write down the elements.
True or False: Every programming language has an infinite number of possible valid programs.
Consider the flexibility of adding more code.
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?
Think about how those wildcards change the strings.
Consider the implications if we allowed strings of infinite length. How would that affect the concept of countability?
What is the difference between finite and infinite sequences?
4 more questions in this section. Enroll free to practise them all.
Enroll free