All mock tests are FREE till 31 December — register to save your progress
Unit 8 · Theory of Computation and Compilers Paper 2 CS · December 2022 Shift 1

What are the minimum and maximum numbers of initial, dead, unreachable and final states in a valid n-state finite automaton whose accepted language is not φ?

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

Show answer & explanation

Correct answer: D. Minimum: 1, 0, 0, 1; Maximum: 1, (n−1), (n−1), n

Explanation

There is exactly one initial state. Dead and unreachable states can number from 0 up to n − 1. A non-empty language needs at least 1 final state, and all n states can be final.

More Theory of Computation and Compilers questions