Recent questions tagged turing-machine

0 0 votes
1 1 answer
49
49 views
Let $M$ be a deterministic Turing machine. During a computation on input $w$, suppose $M$ enters exactly the same complete configuration at two different times before rea...
0 0 votes
1 1 answer
27
27 views
A deterministic Turing machine starts on a blank tape.Which of the following gives an example of a computation that runs forever without ever repeating exactly the same c...
0 0 votes
1 1 answer
25
25 views
Suppose $M$ recognizes a Turing-recognizable language $A$.Which statement is necessarily true?There must exist some $w\notin A$ on which $M$ loops forever. $M$ must loop ...
1 1 vote
1 1 answer
27
27 views
Let $L$ be any Turing-recognizable language.Which of the following is always possible?Construct a TM that accepts every $w\in L$ and loops forever on every $w\notin L$, n...
0 0 votes
1 1 answer
25
25 views
Consider the following deterministic Turing machine $M$ with input alphabet $\Sigma=\{a,b\}$What is $L(M)$?$\{w\in\{a,b\}^*\mid w\text{ ends in }a\}$ $\{w\in\{a,b\}^*\mid...
1 1 vote
1 1 answer
66
66 views
Let $M$ be a Turing machine that recognizes language $L$, and suppose $w\notin L.$Which of the following behaviors are possible when $M$ is run on $w$?$M$ accepts $w$. $M...
0 0 votes
1 1 answer
41
41 views
Consider the following TM strategy for $L=\{b^ic^i\mid i\ge0\}.$It repeatedly:changes the leftmost unmatched $b$ to $\sqcup$ (blank symbol)$,$ scans right to the end of t...
0 0 votes
1 1 answer
37
37 views
Consider $L=\{0^n1^n2^n\mid n\ge0\}.$Which of the following gives a correct high-level strategy for a single-tape Turing machine recognizing $L$?Repeatedly mark the leftm...
0 0 votes
1 1 answer
34
34 views
Suppose a Turing machine makes the following one-step move:$$011q_7\,00101 \;\vdash\; 0110q_7\,0101.$$What transition must have been used, and what is the next configurat...
1 1 vote
1 1 answer
53
53 views
Consider a deterministic single-tape Turing machine$$M=(Q,\Sigma,\Gamma,\delta,q_0,q_{\text{accept}},q_{\text{reject}}).$$Which of the following are required in the stand...
1 1 vote
1 1 answer
223
223 views
The language is $L=\{a.b^n \;or\; b.a^n | n>0\}$ where $\sum = \{a,b\}$
1 1 vote
1 1 answer
178
178 views
10 10 votes
4 4 answers
2.0k
2.0k views
Which one of the following statements is equivalent to the following assertion?Turing machine $M$ decides the language $L \subseteq\{0,1\}^{*}$Turing machine $M$ halts on...
1 1 vote
1 1 answer
242
242 views
0 0 votes
0 0 answers
344
344 views
Can anyone help with this question
0 0 votes
1 1 answer
260
260 views
Which of the following represents the output of the transition function( $\delta$ )$ \begin{array}{l} \delta\left(q_{0}, a\right)=\left(q_{1}, x, R\right) \\\delta\left(...
0 0 votes
0 0 answers
213
213 views
Arrange the following stages of a Turing Machine (TM) operation in the correct order as they occur during computation.Writing a symbol on the tapeMoving the tape head lef...
0 0 votes
0 0 answers
160
160 views
Which of the following is true about Turing Machines?Turing machines are equivalent to finite automataTuring machines can simulate any computation that can be described a...
0 0 votes
0 0 answers
307
307 views
Which of the following is the most powerful computational model?Finite AutomatonPush-Down AutomatonTuring MachineLinear Bounded Automaton
0 0 votes
1 1 answer
472
472 views
Question:LetL = { a^i b^j / i != 2j+1 } where i,j >=1  (a) Is LLL a deterministic context-free language (DCFL)?(b) Justify your answer with reasoning.
2 2 votes
1 1 answer
409
409 views
Consider the following languages:$L_{1}$ is the set of languages recognised by a deterministic pushdown automaton.$L_{2}$ is the set of languages recognised by a nondeter...
2 2 votes
1 1 answer
362
362 views
The complexity class $\textsf{NP}$ corresponds to the class of languages which can be accepted by some nondeterministic Turing machine in polynomial time.The complexity c...
0 0 votes
0 0 answers
354
354 views
how to make turing machine for 1^n0^n1^n
0 0 votes
0 0 answers
191
191 views
Create a transducer turing machine that computes this function: