Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Let M = ({qo, q1, 92, 93, 94, 95}, {a,b,n), qo, fx, {92, 93, 94}) be the Deterministic Finite Automaton (DFA) with state transition function,

image text in transcribed

Let M = ({qo, q1, 92, 93, 94, 95}, {a,b,n), qo, fx, {92, 93, 94}) be the Deterministic Finite Automaton (DFA) with state transition function, f. defined as follows: f(qo, a) = 41 f(qo, b) = 90 f(qo, n) = 42 f(91, a) = 42 f (91. b) = 91 f(qi, n) = 21 f(q2, a)=43 f (42, b) = 42 f(02, n) = 24 f(q3, a) = 21 f(q3, b) = 93 f(q3, n) = 44 f (94, a) = 43 f (94, b) = 95 f (94, n) = 45 f(qs, a) = 44 f(qs, b) = 93 f(qs, n) = 45 a) b) c) d) 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 banana 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) i. 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_2

Step: 3

blur-text-image_3

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

Data Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions

Question

Provide examples of KPIs in Human Capital Management.

Answered: 1 week ago

Question

What are OLAP Cubes?

Answered: 1 week ago