Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Theory of Computation - Homework 6 - Fall 2008 | CS 6413, Assignments of Computer Science

Material Type: Assignment; Professor: Guzman; Class: Theory of Computation; Subject: Computer Science; University: Southern Polytechnic State University; Term: Fall 2008;

Typology: Assignments

Pre 2010

Uploaded on 08/03/2009

koofers-user-dgi
koofers-user-dgi 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Southern Polytechnic State University
Department of Computer Science
Theory of Computation
Fall 2008
Name:
123
Homework for Chapter 06
Pushdown Automata
(due Wed, 29/Oct/2008)
Please answer the following questions.
1) [HMU, page 245, exercise 6.3.2]
Convert the grammar
S aAA
A aS | bS | a
to a PDA that accept the same language by empty stack.
2) [HMU, page 246, exercise 6.3.6]
Show that if P is a PDA, then there is a one-state PDA P1 such that N(P1) = N(P).
3) [HMU, page 251, exercise 6.4.2 (b)]
Give deterministic pushdown automata to accept the following languages:
b) { 0n1m | n m }
Bibliography
[HMU] J.E. Hopcroft, R. Motwani, J.D. Ullman, Introduction to Automata
Theory, Languages, and Computation, 2nd Edition, Addison Wesley. 2001.
Page 1 of 1

Partial preview of the text

Download Theory of Computation - Homework 6 - Fall 2008 | CS 6413 and more Assignments Computer Science in PDF only on Docsity!

Southern Polytechnic State University Department of Computer Science Theory of Computation Fall 2008 Name: 1 2 3

Homework for Chapter 06

Pushdown Automata (due Wed, 29/Oct/2008) Please answer the following questions.

  1. [HMU, page 245, exercise 6.3.2] Convert the grammar SaAA AaS | bS | a to a PDA that accept the same language by empty stack.
  2. [HMU, page 246, exercise 6.3.6] Show that if P is a PDA, then there is a one-state PDA P 1 such that N ( P 1 ) = N ( P ).
  3. [HMU, page 251, exercise 6.4.2 (b)] Give deterministic pushdown automata to accept the following languages: b) { 0 n 1 m^ | nm }

Bibliography

[HMU] J.E. Hopcroft, R. Motwani, J.D. Ullman, Introduction to Automata Theory, Languages, and Computation, 2 nd^ Edition, Addison Wesley. 2001. Page 1 of 1