(Solved):
Problem 4 (25): Give a state diagram of a DFA recognizing the following language. (a) \( I d=\{w \ ...
Problem 4 (25): Give a state diagram of a DFA recognizing the following language. (a) \( I d=\{w \mid w \) is a string beginning with \( A \ldots Z, a \ldots z \) and followed by any character in the alphabet \( \} \). The alphabet is \( \Sigma=\{0 \ldots 9, A \ldots Z, a \ldots z\} \) (b) Num \( =\{w \mid w \) contains \( 0 \ldots 9\} \), The alphabet is \( \Sigma=\{0, \ldots, 9\} \). (c) Semicolon \( =\{w \mid w \) is the string ';'' \( \} \), The alphabet is \( \Sigma=\{;\} \). (d) \( A n d=\left\{\mathrm{w} \mid w\right. \) is the string ' \( \left.\& \&^{\prime}\right\} \), The alphabet is \( \Sigma=\{\&\} \). (e) While \( =\{w \mid w \) is the string 'while' \( \} \), The alphabet is \( \Sigma=\{w, h, i, l, e\} \)