Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Let M ({90, 91, 92, 93, 94, 95}, {a, b, n}, 90, fs, {92, 93, 94}) be the Deterministic Finite Automaton (DFA) with state transition

image text in transcribed

Let M ({90, 91, 92, 93, 94, 95}, {a, b, n}, 90, fs, {92, 93, 94}) be the Deterministic Finite Automaton (DFA) with state transition function, fs defined as follows: f(qo, a) = 91 f(qo, b) = 90 f(qo, n) = 92 f(91, a) = 92 f(q1, b) = 91 f(91, n) = 21 f(92, a) = 93 f(q2, b) = 92 f(92, n) = 94 f(93, a) = 91 f(q3, b) = 93 f (93, n) = 94 f(94, a) = 93 f(94, b) = 95 f(94, n) = 95 f(95, a) = 94 f(qs, b) = 93 f (95, n) = 95 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)

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

Database Systems Introduction To Databases And Data Warehouses

Authors: Nenad Jukic, Susan Vrbsky, Svetlozar Nestorov

1st Edition

1943153191, 978-1943153190

Students also viewed these Databases questions