in Theory of Computation
741 views
0 votes
0 votes
Given that

S1 :Set of all regular languages over Σ

S2 : Set of all languages over Σ accepted by Turing machines

then S1 and S2 respectively are:

a) countable, countable

b) uncountable, countable

c) countable, uncountable

d) uncountable, uncountable
in Theory of Computation
by
741 views

3 Answers

2 votes
2 votes
Best answer

Answer (a) Both are countable.

Following sets are countable

(1) Set of all strings over Σ

(2) Set of all regular languages over Σ

(3) Set of all languages over Σ accepted by Turing machines

BUT

Set of all possible languages over Σ is NOT countable

selected by
by

1 comment

yup I  missed it
0
0
0 votes
0 votes
S1 is uncountable S2 is countable ????
0 votes
0 votes
Answer should be A , Countable and Countable as we can associate some correspondance relation with Natural Number.
edited by

2 Comments

"with Natural number"
0
0
Yes sir! it is subconsious in my mind..just some writing mistakes always happen...kinda forget always natural and real number. :(
0
0