Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

very urgent,thank you 1. (10 + 10 20 points) You are given 2 DFAs M (Q1,9, 81,910, Fi) and M2 (Q2, 2, 82, 920, F2).

image text in transcribedvery urgent,thank you

1. (10 + 10 20 points) You are given 2 DFAs M (Q1,9, 81,910, Fi) and M2 (Q2, 2, 82, 920, F2). We want to construct a DFA M = (0, 2, 8,40,F) recognizing the concatenation L(M) L(M2). One solution would be as follows. Connect cach accept state of M to the start state of M2 by an e-move, and make the accept states of M non-accepting. This is an NFA N = (Q',9,8,46, F') accepting L(M) L(M2). Now transform this NFA into an equivalent DFA. If |Q11 = ky and Q2] = k2, then 2k11 k2 would be an obvious upper bound on the number of states of such a DFA M. We can actually do much better, because many states of the DFA M obtained with the full subset construction are not reachable from the start state. (a) Identify a large subset of the power set of Q' that are states of M not reachable from the start state. (b) Give a good upper bound on the number of reachable states of the DFA M? 1. (10 + 10 20 points) You are given 2 DFAs M (Q1,9, 81,910, Fi) and M2 (Q2, 2, 82, 920, F2). We want to construct a DFA M = (0, 2, 8,40,F) recognizing the concatenation L(M) L(M2). One solution would be as follows. Connect cach accept state of M to the start state of M2 by an e-move, and make the accept states of M non-accepting. This is an NFA N = (Q',9,8,46, F') accepting L(M) L(M2). Now transform this NFA into an equivalent DFA. If |Q11 = ky and Q2] = k2, then 2k11 k2 would be an obvious upper bound on the number of states of such a DFA M. We can actually do much better, because many states of the DFA M obtained with the full subset construction are not reachable from the start state. (a) Identify a large subset of the power set of Q' that are states of M not reachable from the start state. (b) Give a good upper bound on the number of reachable states of the DFA M

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

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions