1.

If a string S is accepted by a finite state automaton, S=s1s2s3……sn where siϵ∑ and there exists a sequence of states r0, r1, r2…… rn such that δ(r(i), si+1) =ri+1 for each 0, 1, …n-1, then r(n) is:(a) initial state(b) transition symbol(c) accepting state(d) intermediate stateI got this question in an online interview.My question is taken from Extended Transition Function in portion Finite Automata of Automata Theory

Answer» CORRECT option is (c) accepting STATE

The explanation: r(N) is the final state and ACCEPTS the string S after the string being TRAVERSED through r(i) other states where I ϵ 01,2…(n-2).


Discussion

No Comment Found

Related InterviewSolutions