Question 7934 – Theory-of-Computation
May 17, 2024Question 8001 – Theory-of-Computation
May 17, 2024Question 7987 – Theory-of-Computation
The minimum possible number of a deterministic finite automation that accepts the regular language L = {w1aw2 | w1, w2 ∈ {a,b}*, |w1| = 2,|w2| ≥ 3} is _________.
Correct Answer: A
Question 25 Explanation:
|w1 | = 2 means the length of w1 is two.
So we have four possibilities of w1 = {aa, ab, ba, bb}.
|w2 | ≥ 3 means the w2 will have at least three length string from {a,b}.
w2 will have {aaa, aab, aba, abb, baa, bab, bba, bbb, ……….}
So, the required DFA is
So we have four possibilities of w1 = {aa, ab, ba, bb}.
|w2 | ≥ 3 means the w2 will have at least three length string from {a,b}.
w2 will have {aaa, aab, aba, abb, baa, bab, bba, bbb, ……….}
So, the required DFA is
![](https://solutionsadda.in/wp-content/uploads/2019/12/x4-2.jpg)
8
9
10
11
Subscribe
Login
0 Comments