Question: Let ={0,1,2}be an alphabet. (a) Write out some strings contained in the set (b) LetLbe the language defined by the set of all
Let Σ ={0,1,2}be an alphabet.
(a) Write out some strings contained in the set Σ∗
(b) LetLbe the language defined by the set of all strings from Σ∗that do not contain a 1(i.e. only strings with zero or two are allowed). Write out some strings contained in this language.
c) Instead of using 0,2 as the symbols for L, use a,b and write out some strings contained in this language.
d) Now consider/interpret Σ∗as the set of all possible real numbers contained on the interval[0,1] represented in base 3. Should we interpret L as the set of all possible real numbers contained on the interval [0,1] represented in base 2 (i.e. the set of all possible binary numbers contained in [0,1])?
Step by Step Solution
3.36 Rating (149 Votes )
There are 3 Steps involved in it
Lets address each part of the question stepbystep a Write out some strings contained in the set The set represents the set of all strings that can be ... View full answer
Get step-by-step solutions from verified subject matter experts
