All mock tests are FREE till 31 December — register to save your progress

Consider the following finite automata F1 that accepts a language L

Figure

Let F2 be a finite automata which is obtained by reversal of F1. Then which of the following is correct?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. L(F1) = L(F2)

Explanation

Reversing an automaton (swap start and final states, reverse every edge) accepts the reverse of L. The figure's edge labels are not legible in the source; the official key takes the language as unchanged by reversal (L(F1) = L(F2)).

More Theory of Computation and Compilers questions