Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Secrets Of Analytical Leaders Insights From Information Insiders

Authors: Wayne Eckerson

1st Edition

1935504347, 9781935504344

More Books

Students also viewed these Databases questions

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago