Find a dfa that accept the following language
L((aa∗)∗ + abb)
checked box shows the accept state.
there are 2 kinds of string that DFA should accept since + sign
indicates OR function
String 1 (aa*)*
String 2 abb
for string 1 there can be 0 or more ocurrences of (aa*)
* mean 0 or more occurrence
that means strings can be
empty string
aa
aaaaaaa
for String 2
String should be abb only.
so for 0 occurrence of a i.e. empty string, Start state itself is the accept state.
for for single occurrence of a but 0 occurence of aa* accept
state is state S0
for multiple occurence of (aa*) accept state is state S1.
and for Sttring abb accept state is S2.
QUESTION 8 For the following equation, solve for the language L. {a, aa, ab} L = {ab,aab,abb, aa aaa, aba} O L = {bb,aa,a} O L = {b,a} O L = {b,aa} L = {4,b,a} QUESTION 9 Consider the regular expression (a+ab)*(b+ab)* Which of the followings
Give a six-state (including dead state) DFA for the language {w ∈ {a,b}*: w contains abb as a substring, and does not contain bba}
Find a minimal DFA for the following language. And Prove that your result is minimal. L = {a^n: n greaterthanorequalto 0, n notequalto 2}.
Problem 2 (1) Find a DFA for the language L = {a"V" : n + m is odd). (2) Then find a regular grammar for the language L
Show that the following language is decidable. L={〈A〉 | A is a DFA that recognizes Σ∗ } M =“On input 〈A〉 where A is a DFA:
Question 1. Let Σ = {a, b}, and consider the language L = {w ∈ Σ ∗ : w contains at least one b and an even number of a’s}. Draw a graph representing a DFA (not NFA) that accepts this language. Question 2. Let L be the language given below. L = {a n b 2n : n ≥ 0} = {λ, abb, aabbbb, aaabbbbbb, . . .} Find production rules for a grammar that generates L.
Question 1. Let S = {a,b}, and consider the language L = {w E E* : w contains at least one b and an even number of a's}. Draw a graph representing a DFA (not NFA) that accepts this language. Question 2. Let L be the language given below. L = {a”62m : n > 0} = {1, abb, aabbbb, aaabbbbbb, ...} Find production rules for a grammar that generates L.
related to theory of automation. Thank you. 4) Minimize the number of states of the below DFA. (10 Points) q2 q1 1,0 q3 q4 q5 5-a) Find a NFA that accepts the following language: L-(aa" + aba*b*) (5 Points) b) Find an NFA that accepts the language L (aa (ab b)) (5 Points) 4) Minimize the number of states of the below DFA. (10 Points) q2 q1 1,0 q3 q4 q5 5-a) Find a NFA that accepts the following language:...
Find an NFA that accepts the language L (aa* (ab + b))
Create a GTG to accept the language expression: aa*(a*b + b)