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

The sum of minimum and maximum number of final states for a Deterministic Finite Automata (DFA) having ' P ' state is equal to :

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

Show answer & explanation

Correct answer: C. P+1

Explanation

A DFA with P states can have at least 1 and at most P final states (taking the minimum as 1 for a non-empty language): 1 + P = P + 1.

More Theory of Computation and Compilers questions