Computer Science EngineeringVery hardISRO SC

The language over {0,1} of strings whose 5th symbol from the right end is 1 needs a minimal DFA with how many states?

  1. A. 16
  2. B. 32
  3. C. 31
  4. D. 64

Correct answer: B. 32

The DFA must remember the last 5 symbols: 2^5 = 32 states (nondeterministic needs only 6).

More Theory of Computation, Compilers & Digital Logic (ISRO CS) questions

Exams that ask this topic