Fall 98, CSE 468: Assignment 6
Distributed: Published on the web on November 19.
Due: December 4 (in class).
Total maximum score: 100 points.
The purpose of this assignment is to
to provide experience with the concepts of Recursive and Recursively
Enumerable.
Please write your solutions as clearly and concisely as possible.
- (30 pts)
For each of the following sets, say whether it is countable or uncountable.
Justify your answer formally.
- (5 pts) The set of all finite strings on a finite alphabet
Sigma = {a1, a2, ... , ak} with k>=2
- (10 pts) The set of all infinite strings on a finite alphabet
Sigma = {a1, a2, ... , ak} with k>=2
- (15 pts) The set of all finite strings on a infinite alphabet
Sigma = {a1, a2, ... , ak, ... }
- (20 pts)
Assume that L, L1 and L2 are recursively enumerable sets.
- Is L1L2 recursively enumerable?
- Is L* recursively enumerable?
Justify your answer.
- (20 pts)
Assume that L, L1 and L2 are recursive sets.
- Is L1L2 recursive?
- Is L* recursive?
Justify your answer.
- (30 pts)
For each of the following languages, say whether it is
recursive / recursively enumerable / not recursively enumerale.
Justify your answer.
- L1 = { x in {0,1}* |
there exists a TM M s.t. x = e(M) and M does not accept any string in
{0,1}* }
- L2 = { x in {0,1}* |
there exists a TM M s.t. x = e(M) and M accepts at least one string in
{0,1}* }
- L3 = { x in {0,1}* |
there exists a TM M s.t. x = e(M) and M accepts all strings in
{0,1}* }
In the above definitions, x = e(M) means that x is the string representing
the encoding of the TM M.