flac-hw1 - Name: FLAC Assignment 1 Please read all...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Name: FLAC Assignment 1 Please read all questions ASAP. If a question is unclear, please email the TAs. Clarifications may also be posted on the Assignments page of the course website. Remember to staple together all pages of your com- pleted assignment. Exercise 1.1. To the right are the state diagrams of two DFAs, M 1 and M 2 . Answer the following questions about these machines. a. What is the start state of M 1 ? b. What is the set of accepting states of M 1 ? c. What is the start state of M 2 ? d. What is the set of accepting states of M 2 ? e. What sequence of states does M 1 go through on input aabb ? f. Does M 1 accept the string aabb ? g. Does M 2 accept the empty string Λ? Exercise 1.4. Give state diagrams of DFAs recognizing the following languages. In all cases, the alphabet is { 0 , 1 } . a. { w | w begins with a 1 and ends with a 0 } . b. { w | w contains at least three 1s } . c.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

flac-hw1 - Name: FLAC Assignment 1 Please read all...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online