GATE / CS ARCHIVE

GATE CSE 2016 SET 2 / QUESTION 42

GATE CSE 2016 Set 2 Q42

Theory of Computation · Finite Automata · Full GATE CSE 2016 Set 2 paper

GATE 2016 Set 2, Q42 2 marks · MCQ
Report issue

Finite Automata

Question 42, GATE 2016: I: If all NFA states accept, its language is Σ*. II: There exists a regular language A for which A∩B is regular for every language B. A I only; B II only; C both; D neither.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

An NFA can have missing transitions. One accepting start state with no transitions accepts only epsilon, not Σ* for a nonempty alphabet, disproving I. For II choose the regular language A=empty set; its intersection with every B is empty and hence regular. Thus only II, B.

Acceptance by an NFA requires at least one complete run consuming the entire word. An accepting state alone cannot consume an unavailable transition; for the one-state counterexample any nonempty word has no run. II is existential in A but universal in B, so choosing a fixed empty A handles even nonregular or undecidable B at once.

Original paper, page 37 · Answer key