Question

Consider the language of all words over the alphabet {a,b,c}

Posted: 17 Jul 11 15:37

Number of bids: 0

Posted by:
neoted111

Questions Asked: 1

Cost:

Status:

$ 3.00

Unanswered

Question:

Consider the language of all words over the alphabet {a,b,c} which:

• contain an even number of cs and
• in which every a is immediately followed by b.

a) Give a DFA for this language.
b) Give a regular expression for this language.
c) Give a context-free grammar for this language.

Attachments: