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

Consider the following two statements about regular languages:
S₁: Every infinite regular language contains an undecidable language as a subset.
S₂: Every finite language is regular.
Which one of the following choices is correct?

  1. (A) Only S₁ is true.
  2. (B) Only S₂ is true.
  3. (C) Both S₁ and S₂ are true.
  4. (D) Neither S₁ nor S₂ is true.
Answer

Answer (C)

Answer from the official GATE CS 2021 answer key.

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