

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


CMSC 330, Practice Problems 2
g. Compute the ฮต-closure of the start state for each of the NFA above. h. Give a DFA that only accepts binary number with an odd number of 1โs. i. Give a DFA that only accepts binary numbers that include โ000โ. j. Give a DFA that only accepts binary numbers that donโt include โ000โ. k. What language (or set of strings) is accepted by the following DFA?
l. For each regular expression: 1, (0|01) i. Reduce the RE to an NFA using the algorithm described in class. ii. Reduce the resulting NFA to an DFA using the subset algorithm. iii. Show whether the DFA accepts / rejects the strings โ1โ, โ11โ, โ101โ iv. Minimize the resulting DFA using Hopcroft reduction v. Are any 2 of the minimized DFA identical?