Question: 1 . [ 5 marks ] Let Sigma = { a , b } . Consider the following languages LA and LB over
marks Let Sigma a b Consider the following languages LA and LB over Sigma :
LA w in Sigma w contains an even number of occurrences of symbol a
LB w in Sigma each pair of consecutive bs in w is separated by a substring of as of length i i
Clarification: LB is saying that between bs there must be i as for some i eg baab in LB
and baaab in LB Also, i must be an integer value
For each of the following strings, decide whether it is a member of LA or LB :
a b
b aabbbbaa
c abaaabaaa
d bbaaaabbaab
e a
marks Consider the following DFA M :
Describe M as a tuple M QSigma delta q F In particular, give
a Q
bSigma
cdelta in the form of a transition table
d q
e F
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
