GATE CS 2016, set 2 · Question 52 · Theory of Computation · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

Consider the following two statements:
I. If all states of an NFA are accepting states then the language accepted by the NFA is Σ^*.
II. There exists a regular language A such that for all languages B, A ∩ B is regular.
Which one of the following is CORRECT ?

  1. (A) Only I is true
  2. (B) Only II is true
  3. (C) Both I and II are true
  4. (D) Both I and II are false
Answer

Answer (B)

Answer from the official GATE CS 2016 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes