Open In App

GATE | GATE CS 2019 | Question 43

Consider the following sets:

Which of the above sets are uncountable?
(A) S1 and S2
(B) S3 and S4
(C) S1 and S4
(D) S2 and S3

Answer: (B)
Explanation:

  1. Recursively enumerable languages are countable.
  2. Syntactically valid C program can be represented with CFG. CFG generates CFL, CFL is countable.
  3. All languages over {0, 1} may not be countable, because they may also lie in the region of 2Σ*.
  4. Set of regular languages are countable, non-regular languages may not be countable.

Option (C) is true.
Quiz of this Question

Article Tags :
Uncategorized