Question
Let be a finite non-empty alphabet and let be the power set of . Which one of the following is TRUE?
Official answer and solution
- Official answer
- C
- From
- Official GATE 2014 answer key
Solution
Determine the cardinality of the language set Sigma* and its power set 2^(Sigma*) using set theory and Cantor's theorem.
-
Cardinality of :
- is a finite, non-empty alphabet (e.g., ).
- is the set of all finite-length strings over :
- For each fixed length , the number of strings is , which is finite.
- Thus, is a countable union of finite sets, which is countably infinite (cardinality ).
-
Cardinality of :
- is the power set of , which represents the collection of all possible languages over .
- By Cantor's theorem, the power set of any countably infinite set has cardinality (the cardinality of the continuum).
- Since , is uncountably infinite.
-
Therefore, is uncountable and is countable (option C).
C
Confusing the countable infinitude of strings (Sigma*) with the uncountable infinitude of all possible languages (2^(Sigma*)).
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2014 Computer Science and Information Technology (CS) Session 3
- Question
- 26 of 65, printed as CS Q.16
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.