COT 6315/CM 710-R Formal Languages and Computation Theory (Summer 2000)

Final Examination

This examination is a closed book examination. It is prepared with an expected completion time of 75 minutes. It is to be taken in a period of time no longer than 75 minutes.
On my honor, I have neither given nor received unauthorized aid in completing this examination: ____________________________________. (Sign your name if you agree and wish to receive a grade for this examination.)

NOTE: Complete exactly 6 of the following 8 questions. Clearly note which two questions you do NOT want graded.

I am NOT answering the following two questions: _____ and _____.

  1. If A mapping reduces to B and B is a regular language, does that imply that A is a regular language? Why or why not?

  2. Let AMBIGCFG = { <G > | G is an ambiguous CFG}. Show that AMBIG is undecidable by using the following reduction from PCP. Given an instance P = { [t1/b1] , [t2/b2] , ... [tk/bk] }, of the PCP, construct a CFG G with the rules
    S -> T | B
    T -> t1Ta1 | ... tkTak | t1a1 ... | tkak
    B -> b1Ba1 | ... bkBak | b1a1 ... | bkak,
    
    where a1, ... ak are unique symbols disjoint from the symbols in the strings of P. Explain how this reduction works.

  3. Is it decidable whether or not a Turing machine M will read the first blank tape symbol on input w? Demonstrate the correctness of your answer.

  4. Suppose we use a formal representation of Turing machines as binary numbers. Say that M is a minimal Turing machine if there is no Turing machine equivalent to M that is represented by a smaller number. Describe an upper bound on any finite set of minimal representations of Turing machines that can be enumerated, that is, tell a Machine whose description we cannot exceed in such a set.

  5. Show that the language C = { x#y | x, y are in {0,1}* and x != y } is a CFL. (Read the symbol != as ``is not equal to.'')

    Hint: Use a PDA (nondeterministic) to check that the condition holds.

  6. Let L = { x<y | x and y are binary representations of numbers. Is L regular? Demonstrate the correctness of your answer.

  7. Show that there is a property of languages that is not satisfied by any Turing-recognizable language.

  8. Explain how we could uniquely represent a Turing machine with a string of 0s.


This document is copyright 2000 by Joseph N. Wilson.