1.

The string WWR is not recognized by any FSM because _____________(a) An FSM cannot remember arbitrarily large amount of information(b) An FSM cannot fix the midpoint(c) An FSM cannot match W with WR(d) An FSM cannot remember first and last inputsI have been asked this question in exam.Query is from Finite Automata in chapter Finite Automata and Regular Expression of Compiler

Answer»

The correct CHOICE is (b) An FSM cannot FIX the midpoint

To elaborate: Palindromes cannot be RECOGNIZED by FSM.



Discussion

No Comment Found

Related InterviewSolutions