# Tutorial 9 - 5 Draw the transition diagram of the finite...

This preview shows pages 1–3. Sign up to view the full content.

DCS5028 DISCRETE STRUCTURES TUTORIAL 9 CHAPTER 9: Finite State Machine & Finite State Automaton 1. Draw the transition diagram of the finite-state machine (I, O, S, f, g, S 0 ). I = {a, b, c}, O = {0, 1, 2}, S = {S 0 , S 1 , S 2 , S 3 } f g I S a b c a b c S 0 S 1 S 0 S 2 1 1 2 S 1 S 0 S 2 S 2 2 0 0 S 2 S 3 S 3 S 0 1 0 1 S 3 S 1 S 1 S 0 2 0 2 2. Find the output string for the given input string aabbaba and based on the state table below: f g I S a b a b S 0 S 1 S 1 0 1 S 1 S 2 S 1 1 1 S 2 S 0 S 0 0 0 3. Find the output string for the given input string bbababbabaaa based on the state diagram below: 1

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

View Full Document
DCS5028 DISCRETE STRUCTURES TUTORIAL 9 4. Redraw the transition diagram of the finite state automaton as the transition diagram of a finite state machine.
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 5. Draw the transition diagram of the finite state automaton (I, S, f, A, S ). 2 S S 2 S S 3 a / 0 a / 1 a / 0 b / 0 a / 0 b / 0 b / 1 b / 0 S S 2 a b a a b a b b S 1 S 3 DCS5028 DISCRETE STRUCTURES TUTORIAL 9 I = {a, b, c}, S = {S , S 1 , S 2 , S 3 }, A = { S 1 , S 2 } f I S a b c S S 1 S S 2 S 1 S S 3 S S 2 S 3 S 2 S S 3 S 1 S S 1 6. Determine whether the given string is accepted by the given finite state automaton below: aabaabb 3 S S 1 S 2 b a a a b b...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern