{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Quiz2Soln - I.e 0 or more a’s followed by 0 or more b’s...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSCI 2670 Quiz 2 Solution September 1, 2005 (1) Consider the DFA drawn below. The alphabet of this DFA is {a, b, c}. a. (2 points) Which of the following strings does this DFA accept? (correct answers in bold) b. (2 points) Informally describe the language accepted by this DFA. All strings over the alphabet {a,b,c} whose symbols are in alphabetical order.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: I.e., 0 or more a’s followed by 0 or more b’s followed by 0 or more c’s. aabba aabbccc acccc bbccc (2) (6 points) Draw a DFA that accepts strings over the alphabet {a,b} with an odd number of a’s followed by an even number of b’s....
View Full Document

{[ snackBarMessage ]}