edited by
217 views
0 votes
0 votes

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 1, \mathrm{~m} \geq 1\right\}$ is designed. The resultant model is $\mathrm{M}=$ $\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}}\right\},\{\mathrm{a}, \mathrm{b}, \mathrm{c}, \mathrm{d}\},\left\{\mathrm{a}, \mathrm{b}, \mathrm{c}, \mathrm{d}, \mathrm{X}_{1}, \mathrm{X}_{2}, \mathrm{Y}_{1}, \mathrm{Y}_{2}\right\}, \delta, \mathrm{q}_{0}, \mathrm{~B},\left\{\mathrm{q}_{\mathrm{f}}\right\}\right)$ and part of ' $\delta$ ' is given in the transition table. You need to write the following questions based on design of Turing Machine for the given language. Note that, while designing the Turing Machine $\mathrm{X}_{1}$ and $\mathrm{X}_{2}$ are used to work with 'a's and 'c's and $\mathrm{Y}_{1}$ and $\mathrm{Y}_{2}$ are used to handle 'b's and 'd's of the given string.

 

\begin{array}{|c|c|c|c|c|c|c|c|c|c|}
\hline & \mathrm{a} & \mathrm{b} & \mathrm{c} & \mathrm{d} & \mathrm{X}_{1} & \mathrm{X}_{2} & \mathrm{Y}_{1} & \mathrm{Y}_{2} & \mathrm{~B} \\
\hline \mathrm{q}_{0} & \left(\mathrm{q}_{1}, \mathrm{X}_{1}, \mathrm{R}\right) & & & & \mathrm{M} 2 & & & & \\
\hline \mathrm{q}_{1} & \left(\mathrm{q}_{1}, \mathrm{a}, \mathrm{R}\right) & \left(\mathrm{q}_{1}, \mathrm{~b}, \mathrm{R}\right) & \mathrm{M} 1 & & & \left(\mathrm{q}_{1}, \mathrm{X}_{2}, \mathrm{R}\right) & & & \\
\hline \mathrm{q}_{2} & \left(\mathrm{q}_{2}, \mathrm{a}, \mathrm{L}\right) & \left(\mathrm{q}_{2}, \mathrm{~b}, \mathrm{~L}\right) & & & \left(\mathrm{q}_{2}, \mathrm{X}_{1}, \mathrm{R}\right) & \left(\mathrm{q}_{2}, \mathrm{X}_{2}, \mathrm{~L}\right) & & & \\
\hline \mathrm{q}_{3} & \mathrm{M} 3 & \left(\mathrm{q}_{4}, \mathrm{Y}_{1}, \mathrm{R}\right) & & & & \left(\mathrm{q}_{6} \mathrm{X}_{2}, \mathrm{R}\right) & & & \\
\hline \mathrm{q}_{4} & & \left(\mathrm{q}_{4}, \mathrm{~b}, \mathrm{R}\right) & & \left(\mathrm{q}_{5}, \mathrm{Y}_{2}, \mathrm{~L}\right) & & \mathrm{M} 5 & & \left(\mathrm{q}_{4}, \mathrm{Y}_{2}, \mathrm{R}\right) & \\
\hline \mathrm{q}_{5} & & \left(\mathrm{q}_{5}, \mathrm{~b}, \mathrm{~L}\right) & & & & \left(\mathrm{q}_{5}, \mathrm{X}_{2}, \mathrm{~L}\right) & \mathrm{M} 4 & \left(\mathrm{q}_{5}, \mathrm{Y}_{2}, \mathrm{~L}\right) & \\
\hline \mathrm{q}_{6} & & & & & & \left(\mathrm{q}_{6}, \mathrm{X}_{2}, \mathrm{R}\right) & & \left(\mathrm{q}_{7}, \mathrm{Y}_{2}, \mathrm{R}\right) & \\
\hline \mathrm{q}_{7} & & & & & & & & \left(\mathrm{q}_{7}, \mathrm{Y}_{2}, \mathrm{R}\right) & \left(\mathrm{q}_{6}, \mathrm{~B}, \mathrm{R}\right) \\
\hline
\end{array}


What is the Move in the cell with number $\text{'M3'}$ of the resultant Table?

  1. $\left(\mathrm{q}_{1}, \mathrm{X}_{1}, \mathrm{~L}\right)$
  2. $\left(\mathrm{q}_{4}, \mathrm{X}_{1}, \mathrm{R}\right)$
  3. $\left(\mathrm{q}_{1}, \mathrm{X}_{1}, \mathrm{R}\right)$
  4. Error Entry

(Option $1 [39689]) 1$
(Option $2 [39690]) 2$
(Option $3 [39691]) 3$
(Option $4 [39692]) 4$

Answer Given by Candidate: $1$

edited by

Please log in or register to answer this question.

Related questions

1.5k
views
2 answers
1 votes
admin asked May 20, 2023
1,463 views
The negation of "Some students like hockey" is:Some students dislike hockeyEvery student dislike hockeyEvery student like hockeyAll students like hockey(Option $1[39301]) 1$(Option ... $4[39304]) 4$Answer Given by Candidate : $2$
612
views
1 answers
0 votes
admin asked May 20, 2023
612 views
A relation '$R$ ' is defined on ordered pairs of integers as: $(x, y) R(u, v)$ if $x<u$ and $y>v$. Then $R$ isNeither a partial order nor an equivalence ... $3 [39307]) 3$(Option $4 [39308]) 4$Answer Given by Candidate : $4$
1.0k
views
1 answers
1 votes
admin asked May 20, 2023
1,019 views
Suppose you are married and you and your partner attend a party with three other married couples. Several handshakes took place. No one shook hands with himself (or herself) or ... $4 [39312]) 4$Answer Given by Candidate : $4$
569
views
1 answers
0 votes
admin asked May 20, 2023
569 views
Consider the following conditional code, which returns a Boolean valuesif $((x>25) \& \&(y>100))$return 'false';else iff $(x \leq 25) \& \& \&(y \leq 100))$ ... $3 [39315]) 3$(Option $4 [39316]) 4$Answer Given by Candidate : $4$