Question

Explain, or define, briefly but completely: a.     If you are told that a language L is...

Explain, or define, briefly but completely:

a.     If you are told that a language L is finite, what category(ies) is the language in? Why?

b.    State – carefully, completely -- the Church-Turing Thesis

c.      If you have an NDFA for L, how do you construct an NFA for L*? Describe in general but perhaps also illustrate with an example.

d.    If L = a*b*(ab)* what is PREFIX(L) = {x: x is a prefix of some string in L}?

e.     Define: A is mapping reducible to B (A <=m B)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

a) If L is finite, then L is a regular language. We can construct a regular expression to represent the finite language. If the finite language is composed of the strings s1 , s2 , … sn, then it can be defined by the following regular expression

s1U s2U … U sn .

If we are able to construct a regular expression for a language then that language is a regular language.

b) Church Turing Thesis

Church Turing Thesis states that "any computation that can be carried out by mechanical means can be performed by some Turing machine" otherwise it can also be stated as "a computation is mechanical if and only if it can be performed by some Turing machine".

This also tells that anything which can be done on any existing digital computer can also be done by turing machine.

c)

d) L = a*b*(ab)*

Strings of L = { epsilon, a, b, ab, abab, aa, bb, abab, aabbabab, aaab ...... }

Prefix of the string aabbabab will be a, aa, aab, aabb, aabba, aabbab, aabbaba.

e)

Add a comment
Know the answer?
Add Answer to:
Explain, or define, briefly but completely: a.     If you are told that a language L is...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Part A) Construct an NFA (non-deterministic finite automata) for the following language. Part B) ...

    Part A) Construct an NFA (non-deterministic finite automata) for the following language. Part B) Convert the NFA from the part A into a DFA L- E a, b | 3y, z such that yz, y has an odd number of 'b' symbols, and z begins with the string 'aa') (Examples of strings in the language: x = babbaa, and x = abaabbaa. However, x-bbaababaa is not in the language.) L- E a, b | 3y, z such that yz, y...

  • Please answer any 7 of them ТОС Answer any 7 from the followings: 1. Regular expression...

    Please answer any 7 of them ТОС Answer any 7 from the followings: 1. Regular expression to NFA: i) ab(aUb)* ii) (aba U a)*ab 2. Explain and construct a generalized NFA, 3. NFA to regular expression 0 3 91 93 8 a 4. DFA to regular expression 011 5. Explain the rules of pumping lemma briefly with an example. 6. Give an example of right linear grammar and left linear grammar. 7. L(G) = {1*20 m >= 1 and >=1}....

  • Question 1: Every language is regular T/F Question 2: There exists a DFA that has only...

    Question 1: Every language is regular T/F Question 2: There exists a DFA that has only one final state T/F Question 3: Let M be a DFA, and define flip(M) as the DFA which is identical to M except you flip that final state. Then for every M, the language L(M)^c (complement) = L( flip (M)). T/F Question 4: Let G be a right linear grammar, and reverse(G)=reverse of G, i.e. if G has a rule A -> w B...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT