GATE / CS ARCHIVE

GATE CSE 2014 SET 3 / QUESTION 16

GATE CSE 2014 Set 3 Q16

Theory of Computation · Other / Mixed Topics · Full GATE CSE 2014 Set 3 paper

GATE 2014 Set 3, Q16 1 mark · MCQ
Report issue

Other / Mixed Topics

Question 16, GATE 2014: For a finite nonempty alphabet Σ, let Σ* be all finite strings and 2^(Σ*) its power set. Which is true? A both countable; B power set countable and Σ* uncountable; C power set uncountable and Σ* countable; D both uncountable.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Step 1: For each length k there are finitely many strings, |Σ|^k. Listing by increasing length and lexicographically within a length enumerates every finite string. Thus Σ* is countably infinite, including when Σ has only one symbol. Step 2: Cantor’s theorem states that the power set of any set has strictly larger cardinality than that set. The power set of a countably infinite set is uncountable. Step 3: Therefore C holds. A language is a subset of Σ*, and there are uncountably many such languages despite only countably many strings.

Original paper, page 56 · Answer key