edited by
336 views
0 votes
0 votes

 

In the $\varepsilon$-NFA, $M=\left(\left\{\mathrm{q}_{0}, \mathrm{q}_{1}, \mathrm{q}_{2}, \mathrm{q}_{3}\right\},\{\mathrm{a}\}, \delta, \mathrm{q}_{0},\left\{\mathrm{q}_{3}\right\}\right)$ where ' $\delta$ ' is given in the transition table below, what is the minimum length of string to reach to the final state?

  $\varepsilon$ $\mathrm{a}$
$\mathrm{q}_{0}$ $\left\{\mathrm{q}_{1}\right\}$ {}
$\mathrm{q}_{1}$ $\left\{\mathrm{q}_{2}\right\}$ {}
$\mathrm{q}_{2}$ {} $\left\{\mathrm{q}_{2}, \mathrm{q}_{3}\right\}$
$\mathrm{q}_{3}$ {} {}

 

  1. $0$
  2. $1$
  3. $2$
  4. $3$

(Option $1[39425]) 1$
(Option $2[39426]) 2$
(Option $3[39427]) 3$
(Option $4[39428]) 4$

Answer Given by Candidate : $2$

edited by

1 Answer

0 votes
0 votes

from the given $\epsilon$ NFA it is clear that only 1 length string is enough to reach the final state.

$q_0 \xrightarrow \epsilon q_1\xrightarrow \epsilon q_2\xrightarrow a q_3$

Note: $\epsilon.L=L,\epsilon$ is zero length string.

Option (1) is correct.

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$