Question 1
What is the total number of non-empty proper prefixes of the string 'automata'?
The string 'automata' has length 8. Its non-empty proper prefixes are 'a', 'au', 'aut', 'auto', 'autom', 'automa', 'automat' (7 in total).
What is the total number of non-empty proper prefixes of the string 'automata'?
The string 'automata' has length 8. Its non-empty proper prefixes are 'a', 'au', 'aut', 'auto', 'autom', 'automa', 'automat' (7 in total).
If a regular language L is accepted by a DFA with n states, what is the upper bound on the number of states in a minimal DFA for the language L' (complement of L)?
The complement DFA L' is formed simply by swapping final and non-final states in the original n-state DFA without changing the state count n.
Which of the following formal language classes is NOT closed under the reversal operation ($L^R)$?
Reversal preserves membership across all four fundamental Chomsky hierarchy language classes (Type 3, Type 2, Type 1, and Type 0).
In a Generalized Nondeterministic Finite Automaton (GNFA) used for State Elimination, what are the labels on the transition edges?
GNFAs generalize standard NFAs by allowing transition edges to be labeled with arbitrary regular expressions.
When converting an n-state DFA to a Regular Expression using State Elimination, how many states does the initial GNFA contain?
State elimination attaches a new start state q_start with an $\epsilon -arrow$ to the original start state and a new single accept state q_accept with $\epsilon -arrows$ from all original accept states.