Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 5 15 MARKS Let M = ({91,92,93,9695}, {a,b, m), a {92, 93, 9}) be the Deterministic Finite Automaton (DFA) with state transition function, f,

image text in transcribed
QUESTION 5 15 MARKS Let M = ({91,92,93,9695}, {a,b, m), a {92, 93, 9}) be the Deterministic Finite Automaton (DFA) with state transition function, f, defined as follows: /9, b) = 20 (98, n) - 92 (qs, a) -41 S(91, a) - 92 f(x,a) - f(4, b) - 1 f(qin) (n)=94 (qz, b) = 92 (q, b) =q (q, a) = 4 f(qs, n) = 24 (qe.a) -4) f(q, b) - 4: (447) a) b) c) d) fas, a) = 44 (qs, b) = 9 fas, n) -45 Draw the transition diagram for the above machine. (5 marks) Show the sequence of state transition for the input strings banana (2 marks) Is the input string hanana accepted by the DFA? Justify your answer. (2 marks) Find ONE input strings that follow the given conditions and must accepted by machine M. (6 marks) 1. Length of strings is 4 and do not contains input n. ii. Length of strings is 5 and do not contains input b. iii. Length of strings is 3, start and end with the same input string (for example: aba). You must show the sequence of state transition in each

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M. Ricardo, Susan D. Urban, Karen C. Davis

4th Edition

1284231585, 978-1284231588

More Books

Students also viewed these Databases questions

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago