a)When a turing machine is given an input , it can do three things.
i)Accept the input by reaching accept state.
ii)reject the input by reaching reject state.
iii)In a loop.
A language is known as turing recognizable if some language accepts it. A language of a turing machine is simply the set of
all strings that are accepted by the turing machine. In this case, we say that the language is recognized by the turing
machine.
Consider the set of strings that are not acceptable by language L. So machine M doesnot accept these strings.So when we
simulate a string , there are two chances.
1.M ends up on reject state.
2.M keeps computing forever(goes in a "loop").
Thus, we can say that for any input , the turing machine M decides whether to accept or reject the input in a
finite number of steps. The machine M is called a decider.
A Language is called turing Decidable if some turing machine decides it.
b) Here is what happens on input 0011100111
Initial state: 0001100011.
Mark the first unmarked zero: A0111A0111.
Mark the first unmarked one: A0B11A0B11.
Mark the first unmarked zero: AAB11AAB11.
Mark the first unmarked one: AABB1AABB1.
There are no unmarked zeroes but there is an unmarked one, so crash (reject) - Not recognizable.
d)Here is what happens on input 0001100011
Initial state: 0001100011.
Mark the first unmarked zero: A0011A0011.
Mark the first unmarked one: A00B1A00B1.
Mark the first unmarked zero: AA0B1AA0B1.
Mark the first unmarked one: AA0BBAA0BB.
Mark the first unmarked zero: AAABBAAABB.
Crash (reject) since there are no remaining unmarked ones.
2. Let L-M M): M is a Turing machine that accepts at least two binary strings. a) Define the notions of a recognisable...
2. Let L = {hMi: M is a Turing machine that accepts at least two binary strings}. a) Define the notions of a recognisable language and an undecidable language. [5 marks] b) Is L Turing-recognisable? Justify your answer with an informal argument. [5 marks] c) Prove that L is undecidable. (Hint: use Rice’s theorem.) [20 marks] d) Bonus: Justify with a formal proof your answer to b). [20 marks] 2. Let L-M M): M is a Turing machine that accepts...
Help me answer this question plz! 4. Let L = { (A) M is a Turing machine that accepts more than one string } a) Define the notions of Turing-recognisable language and undecidable language. b) Is L Turing-recognisable? Justify your answer with an informal argument. c) Justify with a formal proof your answer to b) d) Prove that L is undecidable. (Hint: use Rice's theorem.) e) Modify your answer to b) when instead of L you have the language Ln...
Let Show that L is undecidable L = {〈M) IM is a Turing Machine that accepts w whenever it accepts L = {〈M) IM is a Turing Machine that accepts w whenever it accepts
3. Let L= {MM is a Turing machine and L(M) is empty), where L(M) is the language accepted by M. Prove L is undecidable by finding a reduction from Arm to it, where Arm={<M,w>| M is a Turing machine and M accepts w}
please answer and I will rate! 3. Let L = {M M is a Turing machine and L(M) is empty), where L(M) is the language accepted by M. Prove Lis undecidable by finding a reduction from Arm to it, where Ayv-<<MwM is a Turing machine and M accepts w). Answer:
2. Prove that {a"6"c" |m,n0}is not a regular language. Answer: 3. Let L = { M M is a Turing machine and L(M) is empty), where L(M) is the language accepted by M. Prove L is undecidable by finding a reduction from Aty to it, where Arm {<M.w>M is a Turing machine and M accepts Answer: 4. a) Define the concept of NP-completeness b) If A is NP-complete, and A has a polynomial time algorithm, then a polynomial time algorithm...
L = {<M,s> : M rejects ss, but accepts exactly two other strings ending in s} . Prove that L ∉ D using a reduction from H; do not use Rice's theorem.
A Turing machine M decides a language L is M: Group of answer choices All of these apply. Accepts all strings in L and M rejects all strings not in L. Accepts some strings in L and M rejects some strings not in L. Accepts all strings in L that are recognizable.
3. Let L-{(M, q》 | M is a Turing machine and q is a state in M such that: there is at least one input string w such that M executed on w enters state q). Side note: In the real world, you can think of this as a question about finding "dead code" in a program. The question is: for a given line of code in your program, is there an input that will make the program execute that...
I'm not sure how to answer this problem. Can someone help me with this. thanks 5. Let M be the Turing machine BIBR 9 9 ala R a) Give a regular expression for L(M. b) Using the techniques from Theorem 10.1.3, give the rules of an unrestricted gram- mar G that accepts L(M. c) Trace the computation of M when run with input bab and give the corresponding derivation in G. 5. Let M be the Turing machine BIBR 9...