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 of common alphabets or specific collections of symbols.
How many strings can be formed from a binary alphabet of {0, 1} of length 1?
Count each symbol in this alphabet.
Is the set of all strings over a finite alphabet countable?
Relate this to the definition of countability.
If you have an alphabet of 5 characters, how many strings of length 3 can you create?
Apply the formula for counting strings.
Show how you would create a sequence of valid strings using an alphabet of your choice. Explain your method.
Choose a simple alphabet to start, like {x, y, z}.
Given a programming example, explain how to determine its validity based on your earlier discussions.
Review the definitions of valid programs discussed in class.
4 more questions in this section. Enroll free to practise them all.
Enroll free