a)Unit 1Design a Moore machine to determine the residue of mod 2 of the input treated as a binary string.
Design a Moore machine to determine the residue of mod 2 of the input treated as a binary string.
b)Unit 2Find an equivalent -NFA for the following regular expression .
Find an equivalent -NFA for the following regular expression .

