What is the minimum and maximum number of initial, dead, unreachable and final states in a n valid ' ' state finite automaton, where the φ language accepted 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 always exactly 1 initial state. Dead and unreachable states can be 0, and the language is non-empty, so at least 1 final state. At most n − 1 states can be dead or unreachable (the start state is neither), and all n can be final.
More Theory of Computation and Compilers questions
- Which of the following finite automata recognize L = {a, b}*? (Transition tables A–D are shown; in each, the start state q0 is accepting.)
- Match List I with List II
- Consider the following statements: (A) For every regular language, we can design Turing Machine (B) For every context free language, we can…
- The transition function ' ' in multi-tape Turing machine is defined as:
- In Pumping Lemma for regular languages, to say a language is satistying pumping lemma, what is the mınımum length of ' y ' if you consider…
- The item generated by the production is :