Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Let denote a finite alphabet, * denote all words over that alphabet, and L denote the function that maps a string to its length, i.e.
Let denote a finite alphabet, * denote all words over that alphabet, and L denote the function that maps a string to its length, i.e. L : * N (where N denotes the natural numbers) [a] Is L partial, total, or both?
[b] Is L one-to-one? onto? a bijection?
[c] How many words in * have length n?
[d] How many words in * have length n
[e] Explain whether * is finite, countable, or uncountable.
[f] Explain whether P(*) - the set of all subsets over * - is finite, countable, or uncountable. Hint: how is this related to the real numbers in [0, 1).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started