in Theory of Computation edited by
12,286 views
38 votes
38 votes

Given $\Sigma=\{a,b\}$, which one of the following sets is not countable?

  1. Set of all strings over $\Sigma$
  2. Set of all languages over $\Sigma$
  3. Set of all regular languages over $\Sigma$
  4. Set of all languages over $\Sigma$ accepted by Turing machines
in Theory of Computation edited by
12.3k views

2 Comments

Set of all non regular language is uncountable ??
0
0
edited by

@anas_2908, Yes, Set of all non-regular languages is Uncountable.

Set of regular languages is Countable. But Set of all languages is Uncountable. So, Set of all non-regular languages is Uncountable.

Detailed Video Solution of this question: Detailed Video Solution, with Proof  

Countability Complete Course Playlist, with COMPLETE coverage of every topic, with Proof: 

https://youtube.com/playlist?list=PLIPZ2_p3RNHgXosiQv-gL1PvJkcHokW1p&feature=shared 

0
0

5 Answers

47 votes
47 votes
Best answer

Correct Option: B

Set of all languages over $\Sigma$ is uncountable.

Ref: http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-045j-automata-computability-and-complexity-spring-2011/lecture-notes/MIT6_045JS11_lec05.pdf


Power set of an infinite set is uncountable. Set of languages over $\Sigma$ is the power set of set of strings over $\Sigma$ which is an infinite set. Hence the set of languages becomes an uncountable set. 

edited by
by

4 Comments

@Arjun Sir here best ans is crossed , what is ans here :o
1
1
@Sreshtha Don't know who have crossed it.I uncrossed it.

Arjun sir had given a reference of  MIT though someone thinks it is wrong!:)
2
2
Arjun sir plz send me important set of problems from each subject
0
0
46 votes
46 votes
A) The set Σ* is countable because each element of this set can be generated in the following order (called proper order):

Let Σ={a,b}. So, proper order = a,b,aa,ab,ba,bb,aaa,aab....

D) The set of all languages accepted by TMs is the set of all TMs basically, which is countable because each TM can be represented by a binary string and each binary string can be obtained in a proper order (as stated above) and checked whether it's a TM or not.

C) The set of all regular languages is a subset of the set of all recursively enumerable languages. And a subset of a countable set is always countable. This is because all the elements of the countable set can be written in a specific order and each of that element can be checked for its membership in the other set.

B) The set of all languages is uncountable, according to Cantor's Diagonalisation Proof.

4 Comments

“And a subset of a countable set is always countable.”

Counter example: Sigma * is countable but subset of Sigma * (i.e. set of all possible languages is uncountable).

@Vishal Goel

0
0
Isn't set of all languages and set of all languages accepted by Turing machine same thing.

Is there some language that is not accepted by a Turing machine?
0
0

@Anupreet13 Subset of Σ* will be a language not a set of languages , any set of languages will be subset of power set of Σ*(because it is the set of all languages).

0
0
1 vote
1 vote
for option (a)

 All languages generated by Turing machines, are countable. This is because they are all subsets of Σ* and Σ* itself is countable. However, there are uncountably many languages so (b) is uncountable.

1 comment

  1. How Set of all languages over Σ accepted by Turing machines will be subset of Σ* (because subset of Σ* will be a language not a set of language)?
  2. Set of all languages over Σ accepted by Turing machines will subset of power set of Σ* because it is the set of all languages and any set of languages will be its subset .
0
0
0 votes
0 votes
opt A:set of all strings are finite.so it is countable

opt C:set of all regular languages is always countable

opt D:set of all languages accepted by Turing machine is countable.

opt A: By diagonalization method, we can prove that set of all languages are not countable.

2 Comments

nice
0
0

 

opt A:set of all strings are finite.so it is countable

                 This is an infinite set. 

0
0
Answer:

Related questions