#### Answer

\begin{array}{l}{\text { A scanner is not involved in the determination of the legality or illegality }} \\ {\text { of a programming language statement; that is done in the next two steps. }} \\ {\text { A scanner is only concerned with finding and classifying tokens. So it }} \\ {\text { would simply return the following six tokens: }}\end{array}
\begin{array}{ccc}
{\textbf {Name} } & {\textbf {Classification} }\\
{\mathrm{X}} & {1} \\ {=} & {3} \\ { ;} & {6} \\ {( } & {10} \\ {14} & {2} \\ {\text { hello }} & {1}
\end{array}