Question: A . ( 1 0 ) Let D be a language over { a , b } where contains an even number of a '

A.(10) Let D be a language over {a,b} where contains an even number of a's and an odd number of b's, and does not contain the
substring ab. Give a DFA with five states that recognizes D.
B.(15) In certain programming languages, comments appear between delimiters such as /# and #/. Let C be the language of all valid delimited
comment strings. A member of C must begin with /# and end with #/ but have no intervening #/. For simplicity, assume that the alphabet for C
is ={a,b,,#}. Give a DFA that recognizes C.
 A.(10) Let D be a language over {a,b} where contains an

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!