Computer Science Homework Solutions
Problem
#113140

Automata and Computability (A13)

Say that string x is a prefix of string y if a string z exists where xz = y and that x is a proper prefix of y if in addition x  y.  In each of the following parts we define an operation on a language A.  Show that the class of regular languages is closed under that operation.

a. NOPREFIX (A) = {w  A| no proper prefix of w is a member of A}
b. NOEXTEND (A) = {w  A| w is not the proper prefix of any string in A}

Attached file(s):
Attachments
Problem A13.doc  View File

Attachment Content Summary (Note: view attachment at the above link before purchasing. Actual attachment content may vary slightly from that shown below.)

Problem A13.doc
Problem 3

Say that string x is a prefix of string y if a string z exists where xz
= y and that x is a proper prefix of y if in addition x ( y. In each of
the following parts we define an operation on a language A. Show that
the class of regular languages is closed under that operation.

NOPREFIX (A) = {w ( A| no proper prefix of w is a member of A}

NOEXTEND (A) = {w ( A| w is not the proper prefix of any string in A}
Solution
What is this?
By OTA - Overall OTA Rating
Purchase Cost Now
$2.19 CAD (was ~$19.95)
Included in Download
  • Plain text response
  • Attached file(s):
    • Problem+A13[1]_Sol.doc
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
  • Automata and Computability - Let A = (attached) | R is a regular expression describing a language containing at least one string w that has 111 as a substring (i.e., w = x111y for some x and y)}. Show that A is decidable.
  • Automata and Computability - A useless state in a pushdown automaton is never entered on any input string. Consider the problem of testing whether a pushdown automaton has any useless states. Formulate this problem as a languag ...
  • Automata and Computability - Let C be a language. Prove that C turing-recognizable if a decidable language D exists such that C = {x | y (x,y  D)}.
  • Automata and Computability (A125) - 1. Give an example in the spirit of the recursion theorem of a program in a real programming language (or a reasonable approximation thereof) that prints itself out.
  • Automata and Computability - Show that, if P = NP then every language A  P except A = 0 and A = * is NP-complete. See attached for full problem description.
Browse