Assignment 8 -- Due 2 p.m. Wednesday, March 26
at the beginning of class
CS 4511 Spring Semester, 2008
30 Points
Topics: Context-Free Grammars, push-down automata, Turing machines
Reading: Chapter 2 Context-Free Languages, Chapter 3 Church-Turing Thesis
The assignment:
- (6 points) Problem 2.18 page 130, for Part b. you may assume
that the language B = {anbncn | n ≥ 0 }
is not context-free.
- (5 points) Problem 2.30 part d. page 131 (Hint:
let s = apbp#apbp and proceed
as in the text's solution for Part c.).
- (5 points) Problem 2.35 page 131 (hint: assume G generates string
w of length n using a derivation of at least 2b+1 steps.
By problem 2.26, n ≥ (2b+1 + 1)/2 > 2b.
Consider a minimal node parse tree of w, and proceed as in the proof
of the Pumping Lemma).
- (6 points) Problem 3.1 parts a., b., and c. only; page 159
- (8 points) Problem 3.8 parts a., and b. only; page 160
Page URL: http://www.d.umn.edu
/~ddunham/cs4511s08/assignments/a8/assignment.html
Page Author: Doug Dunham
Last Modified: Tuesday, 18-Mar-2008 17:30:42 CDT
Comments to: ddunham@d.umn.edu