Gate2019 cs Q44

0. Consider the following sets:
S1Set of all recursively enumerable languages over the alphabet {0,1}
S2 Set of all syntactically valid C programs
S3 Set of all languages over the alphabet {0,1}
S4 Set of all non-regular languages over the alphabet {0,1}
Which of the above sets are uncountable?

  • Option : B
  • Explanation :
    S1: The set : LRE is known to be countably infinite since it corresponds with set of turing machines.
    S2: Since syntactically valid C programs surely run on Turing machines, this set is also : a subset of set of Turing machines, which is countable.
    S3: Set of all languages = 2Σ which is known to be uncountable. Σ* countably infinite
    ⇒ 2Σ is uncountable.
    S4: Set of all non-regular languages includes set : L NOT RE which is uncountable infinite and hence is uncountable.
    So, S3 and S4 are uncountable.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *