GATE CS 2014, set 2 · Question 25 · Theory of Computation · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

If L₁ = {aⁿ | n ≥ 0} and L₂ = {bⁿ | n ≥ 0}, consider
(I) L₁ · L₂ is a regular language
(II) L₁ · L₂ = {aⁿ bⁿ | n ≥ 0}
Which one of the following is CORRECT?

  1. (A) Only (I)
  2. (B) Only (II)
  3. (C) Both (I) and (II)
  4. (D) Neither (I) nor (II)
Answer

Answer (A)

Answer from the official GATE CS 2014 answer key.

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