GATE / CS ARCHIVE

GATE CSE 1997 / QUESTION 3.4

An uncountable collection of languages

Theory of Computation · Turing Machines · Full GATE CSE 1997 paper

GATE 1997, Q3.4 1 mark · MCQ
Report issue

Turing Machines

Question 3.4, GATE 1997: Over{a, b}, which is uncountable: all finite strings, all languages, regular languages, or Turing-recognizable languages?
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

Finite strings can be enumerated by length and lexicographic order, so Σ* is countably infinite. All languages form its power set P(Σ*), which is uncountable by Cantor’s theorem. In contrast, finite automata and Turing machines each have finite descriptions over a finite alphabet, so there are only countably many of either and hence only countably many languages they describe. Thus B. The distinction is between elements that are strings and arbitrary sets of those strings.

Original paper, page 3