MCQ Extra
MCQ Extra
Which of the following statements is true regarding deterministic finite automata (DFA) and
nondeterministic finite automata (NFA)?
• A) DFA can have multiple transitions for a single input symbol from a given state.
3. Which of the following properties does not belong to transition functions of finite automata?
• A) Totality
• B) Determinism
• C) Surjectivity
• D) Epsilon-moves
• A) Mealy machines have outputs that depend only on the state, while Moore machines
depend on the current input.
• B) Moore machines have outputs that depend only on the state, while Mealy machines
depend on the current input.
5. Which of the following statements about the minimization of finite automata is correct?
• A) The minimized DFA can contain more states than the original DFA.
• B) The minimized DFA has the same computational power as the original DFA.
• D) The minimized DFA may accept a different language than the original.
6. Which algebraic method is used to find the equivalence of regular expressions and finite
automata?
• A) Turing's Theorem
• B) Pumping Lemma
• C) Arden's Theorem
• D) Kleene's Theorem
7. The Pumping Lemma is used to prove which of the following properties of a language?
8. Which of the following is true about the closure properties of regular sets?
• B) Regular sets are not closed under intersection but are closed under complement.
• C) Regular sets are not closed under complement but are closed under concatenation.
• D) Regular sets are closed under intersection and concatenation but not under union.
9. What is the role of null (epsilon) moves in non-deterministic finite automata (NFA)?
12. Chomsky's hierarchy classifies languages into how many distinct types?
• A) 2
• B) 3
• C) 4
• D) 5
13. In converting a regular grammar to a regular expression, which of the following is true?
14. What is the significance of left-linear and right-linear grammars in formal languages?
• A) Pushdown Automaton
17. Which of the following is not true about the equivalence of DFA and NFA?
• A) For every NFA, there exists a DFA that recognizes the same language.
• D) DFA and NFA can recognize the same class of regular languages.
20. Which of the following operations is not a closure property of regular languages?
• A) Union
• B) Intersection
• C) Complement
• D) Exponentiation
21. Which of the following is correct about the conversion of an NDFA with null moves to a DFA?
• A) The resulting DFA always has fewer states than the original NDFA.
• B) The resulting DFA has exactly the same number of states as the NDFA.
• C) The conversion process involves removing null moves and creating equivalent
transitions.
24. Which of the following properties of a regular language can be proved using the Pumping
Lemma?
• A) A → aB
• B) A → Ba
• C) A → a
• D) A → aB | bA
26. In Chomsky's hierarchy, which class of languages can be recognized by a finite automaton?
• A) Type-0 languages
• B) Type-1 languages
• C) Type-2 languages
• D) Type-3 languages
• B) Turing Machine
• D) Context-Free Grammar
28. Which of the following is true regarding the relationship between regular expressions and
regular grammars?
• B) Regular expressions and regular grammars generate the same set of languages.
• A) Type-0
• B) Type-1
• C) Type-2
• D) Type-3
30. Which of the following statements is false about the conversion of a regular grammar to a
finite automaton?
• D) Regular grammars and finite automata represent the same class of languages.
• C) Recursive sets have a decision procedure, while recursively enumerable sets do not.
32. Which of the following best describes a transition system in a finite automaton?
• B) A set of rules that define how the automaton moves between states based on input
symbols.
34. Which of the following is true about the relationship between finite automata and regular
expressions?
• A) Finite automata can recognize some languages that regular expressions cannot
represent.
• B) Every finite automaton has an equivalent regular expression that represents the same
language.
• A) r + r = r
• B) r + s = s + r
• C) r(r*) = r*
• D) r(s + t) = rs + rt