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 the minimum and maximum number of final states for a DFA having P states 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 needs at least 1 final state (for a non-empty language) and can have at most P. Sum = P + 1.

More Theory of Computation and Compilers questions