GATE CS 2019 · Question 17 · Theory of Computation · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

If L is a regular language over Σ = {a, b}, which one of the following languages is NOT regular ?

  1. (A) L · L^R = {xy | x ∈ L, y^R ∈ L}
  2. (B) {ww^R | w ∈ L}
  3. (C) Prefix(L) = {x ∈ Σ^* | ∃ y ∈ Σ^* such that xy ∈ L}
  4. (D) Suffix(L) = {y ∈ Σ^* | ∃ x ∈ Σ^* such that xy ∈ L}
Answer

Answer (B)

Answer from the official GATE CS 2019 answer key.

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