Answered step by step
Verified Expert Solution
Question
1 Approved Answer
6. Let S = {0, 1, 2} be an alphabet. (a) Write out some strings contained in the set 5* (b) Let L be the
6. Let S = {0, 1, 2} be an alphabet. (a) Write out some strings contained in the set 5* (b) Let L be 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. 1 (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 S* 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])? 7. Let S = {0, 1} be an alphabet. Now consider/interpret S* as the set of all possible real numbers R contained on the interval [0, 1] represented in base 2. Let L be the language defined by the set of strings contained in Q (the set of rational numbers). Given a string in we S*, describe an algorithm that will determine if w E L (i.e. describe an procedure to either accept or reject w). 6. Let S = {0, 1, 2} be an alphabet. (a) Write out some strings contained in the set 5* (b) Let L be 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. 1 (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 S* 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])? 7. Let S = {0, 1} be an alphabet. Now consider/interpret S* as the set of all possible real numbers R contained on the interval [0, 1] represented in base 2. Let L be the language defined by the set of strings contained in Q (the set of rational numbers). Given a string in we S*, describe an algorithm that will determine if w E L (i.e. describe an procedure to either accept or reject w)
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