
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The instructions and problems for homework 4 in the course ecs 120. Students are required to define a string operation called 'chop', modify a finite automaton to implement this operation, and prove that the family of regular languages is closed under chop. Jflap files are expected for problems 1 and 2.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

is, , for all and
chop chop ( wa )= w w ∈Σ* a ∈Σ. We can extend this operation to languages
by
chop ( L )= { v ∈Σ*: va ∈ L forsome a ∈Σ }.
Let M be the finite automaton in file JHW4 and let L = L ( M ). Modify M to produce a
new finite automaton M 1 , so that
L ( M 1 )= chop ( L ).
Note: Please turn in JFLAP files for Problem 1 : 4c and Problem 2.
Use the handin utility on CSIF for electronic submission:
For example, if you’re submitting the file “problem1_4c.jff”s, use the following command on your CSIF account:
handin shini hw4 problem1_4c.jff