Given ∑ = {a, b}, which of the following sets is not countable ?
(A) Set of all strings over ∑
(B) Set of all languages over ∑
(C) Set of all regular languages over ∑
(D) Set of all languages over ∑ accepted by Turing machines
Answer: (B)
Explanation:
- (A) The set ∑ ={a, b} is countable because each element of this set can be mapped with natural number and also generated in the following order:
Given ∑ ={a, b}. So, order will be a,b,aa,ab,ba,bb,aaa,aab … Therefore it will mapped with natural number. Hence it is countable. - (B) Here, we see that set of languages over z is the power set of strings over ∑ which is an infinite set and As we know that power set of an infinite set is uncountable. Hence the set of languages becomes an uncountable set a, so we can prove this using Cantor’s diagonalisation method.
- (C) The set of all regular languages is a subset of the set of all recursively enumerable languages. And we know that a subset of a countable set is always countable.
- (D) Set of all language over ∑ accepted by Turing machine is countable.
Option (B) is correct.
Quiz of this Question
Recommended Posts:
- GATE | GATE CS 1997 | Question 36
- GATE | GATE CS 1997 | Question 17
- GATE | GATE CS 1997 | Question 16
- GATE | GATE CS 1997 | Question 15
- GATE | GATE CS 1997 | Question 14
- GATE | GATE CS 1997 | Question 13
- GATE | GATE CS 1997 | Question 12
- GATE | GATE CS 1997 | Question 11
- GATE | GATE CS 1997 | Question 10
- GATE | GATE CS 1997 | Question 9
- GATE | GATE CS 1997 | Question 8
- GATE | GATE CS 1997 | Question 20
- GATE | GATE CS 1997 | Question 35
- GATE | GATE CS 1997 | Question 34
- GATE | GATE CS 1997 | Question 33
- GATE | GATE CS 1997 | Question 32
- GATE | GATE CS 1997 | Question 31
- GATE | GATE CS 1997 | Question 30
- GATE | GATE CS 1997 | Question 29
- GATE | GATE CS 1997 | Question 28
Improved By : ApurvaRaj

