Recent questions tagged turing-machine

0 0 votes
0 0 answers
433
433 views
There exists a language Ld = {M | M doesn't belong to L(M)}. Ld is the collection of Turing machines (programs) M such that M does not halt and accept when given itself a...
5 5 votes
1 1 answer
1.0k
1.0k views
Which of the following languages are Turing-recognizable?A. $\{\langle M\rangle \mid M$ is a (deterministic) Turing machine and $M$ accepts 010$\}$.B. $\{\langle M\rangle...
1 1 vote
0 0 answers
907
907 views
L(M)={0}We can have Tyes for {0} and Tno for Σ∗ ({0}⊂Σ∗{0}⊂Σ∗). Hence, L={M ∣ L(M)={0}} is not Turing recognizable (not recursively enumerable)I don’t understand why th...
0 0 votes
0 0 answers
752
752 views
The state diagram for the initial part of this turing machine given as:Here, we are basically traversing through the input tape, changing occurence of 'a' to X1, and 'c' ...
3 3 votes
2 2 answers
1.1k
1.1k views
Can anyone explain $\overline{ww}$ is $CFL$ or $CSL$ And if $CFL$ can you write the equivalent $CFG$ for this ?
0 0 votes
0 0 answers
455
455 views
Given below are two statements:Statement I: If $f$ and $g$ are two functions and $f=O(g)$ but $g \neq o(f)$, we say that the growth rate of $g$ is smaller than that of $f...
1 1 vote
0 0 answers
409
409 views
The set of turning machine codes for $\text{TM's}$ that accept all inputs that are palindromes (possible along with some other inputs) is decidableThe language of codes f...
0 0 votes
0 0 answers
480
480 views
Consider following statements:I. A context free language is generated by $\text{LR(o)}$ grammar if and only if it is accepted by a deterministic pushdown automata and has...
0 0 votes
1 1 answer
562
562 views
The transition function ' $\delta$ ' in multi-tape Turing machine is defined as:$\delta: 2 \mathrm{Q} \times \Gamma^{\mathrm{k}} \rightarrow 2^{\mathrm{Q}} \times \Gamma^...
0 0 votes
0 0 answers
306
306 views
A Turing Machine for the language $\mathrm{L}=\left\{\mathrm{a}^{\mathrm{n}} \mathrm{b}^{\mathrm{m}} \mathrm{c}^{\mathrm{n}} \mathrm{d}^{\mathrm{m}} \mid \mathrm{n} \geq ...
0 0 votes
0 0 answers
358
358 views
A Turing Machine for the language $\mathrm{L}=\left\{\mathrm{a}^{\mathrm{n}} \mathrm{b}^{\mathrm{m}} \mathrm{c}^{\mathrm{n}} \mathrm{d}^{\mathrm{m}} \mid \mathrm{n} \geq ...
0 0 votes
0 0 answers
423
423 views
A Turing Machine for the language $\mathrm{L}=\left\{\mathrm{a}^{\mathrm{n}} \mathrm{b}^{\mathrm{m}} \mathrm{c}^{\mathrm{n}} \mathrm{d}^{\mathrm{m}} \mid \mathrm{n} \geq ...
0 0 votes
0 0 answers
233
233 views
A Turing Machine for the language $\mathrm{L}=\left\{\mathrm{a}^{\mathrm{n}} \mathrm{b}^{\mathrm{m}} \mathrm{c}^{\mathrm{n}} \mathrm{d}^{\mathrm{m}} \mid \mathrm{n} \geq ...
0 0 votes
0 0 answers
305
305 views
$\left(\left\{\mathrm{q}_{0}, \mathrm{q}_{1}, \mathrm{q}_{2}, \mathrm{q}_{3}, \mathrm{q}_{4}, \mathrm{q}_{5}, \mathrm{q}_{6}, \mathrm{q}_{7}, \mathrm{q}_{\mathrm{f}}\righ...
0 0 votes
0 0 answers
529
529 views
Consider an offline Turing machine in which the input can be read only once, moving left to right, and not rewritten. On its work tape, it can use at most n extra cells f...
1 1 vote
0 0 answers
526
526 views
Let $L_{1}$ and $L_{2}$ be two languages decidable by Non-deterministic Turing machines $M_{1}$ and $M_{2}$. Using $M_{1}$ and $M_{2}$, construct a Non-deterministic Turi...
2 2 votes
0 0 answers
441
441 views
Let $L$ be the following language.$L=\left\{P\left(x_{1}, x_{2}, \ldots, x_{n}\right) \mid P\right.$ is a polynomial with an integral root $\}$.Explain why the following ...
1 1 vote
0 0 answers
375
375 views
Let $L_{1}$ and $L_{2}$ be two languages decidable by Non-deterministic Turing machines $M_{1}$ and $M_{2}$. Using $M_{1}$ and $M_{2}$, construct a Non-deterministic Turi...
1 1 vote
0 0 answers
426
426 views
Let $L_{1}$ and $L_{2}$ be two languages decidable by Non-deterministic Turing machines $M_{1}$ and $M_{2}$. Using $M_{1}$ and $M_{2}$, construct a Non-deterministic Turi...
1 1 vote
2 answers 2 answers
1.4k
1.4k views
I saw question where I saw this format being used:L1 = {<M | L(M) = ϕ}What does exactly <M mean and why is L(M) = ϕ, mentioned afterwards. Isn’t L() stands for language f...