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.


  1. (30 pts) For each of the following sets, say whether it is countable or uncountable. Justify your answer formally.
    1. (5 pts) The set of all finite strings on a finite alphabet Sigma = {a1, a2, ... , ak} with k>=2
    2. (10 pts) The set of all infinite strings on a finite alphabet Sigma = {a1, a2, ... , ak} with k>=2
    3. (15 pts) The set of all finite strings on a infinite alphabet Sigma = {a1, a2, ... , ak, ... }

  2. (20 pts) Assume that L, L1 and L2 are recursively enumerable sets.
    1. Is L1L2 recursively enumerable?
    2. Is L* recursively enumerable?
    Justify your answer.

  3. (20 pts) Assume that L, L1 and L2 are recursive sets.
    1. Is L1L2 recursive?
    2. Is L* recursive?
    Justify your answer.

  4. (30 pts) For each of the following languages, say whether it is recursive / recursively enumerable / not recursively enumerale. Justify your answer.
    1. 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}* }
    2. 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}* }
    3. 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.