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,/,#}. a. Give a DFA that recognizes C. b. Give a regular expression that generates C.

Respuesta :

Answer:

The DFA and regular expression is given in the attached file.

Explanation:

               

Ver imagen mahamnasir
ACCESS MORE
ACCESS MORE
ACCESS MORE
ACCESS MORE