Questions: Deterministic Finite Automata (DFA)

3 questions to test your understanding

Score: 0 / 3
Question 1 Multiple Choice

In the formal definition of a DFA, the transition function δ maps to which of the following?

AA set of possible next states, one per input symbol
BExactly one next state for each (state, input symbol) pair
CA set of accept states reachable from a given state
DA string of output symbols produced by processing the input
Question 2 True / False

A complete DFA can get 'stuck' on an input string — that is, reach a configuration where no transition is defined for the next symbol, and the machine halts without accepting or rejecting.

TTrue
FFalse
Question 3 Short Answer

What fundamental limitation prevents DFAs from recognizing the language {aⁿbⁿ | n ≥ 1} (equal numbers of a's followed by equal numbers of b's)?

Think about your answer, then reveal below.