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 is a finite alphabet?
Think about letters in the English alphabet or symbols in a programming language.
How many strings can you form of length 1 from an alphabet of 4 characters?
Count each character as one string.
What does it mean for a set to be countable?
Think about how we can organize elements.
True or False: All infinite sets are uncountable.
Consider the definition of countability.
Create a finite alphabet with four characters and list all possible strings of length 2. How many total strings can you form?
Use every character in combinations regardless of order.
If you have a set of infinite valid programs, how can you prove that this set is countable?
Think about organizing programs just like you'd list books by title.
4 more questions in this section. Enroll free to practise them all.
Enroll free