Assignment-I
- Do the Lexical Analysis and draw the parse tree in the
syntax analysis for the following source code
statement
“
Sum : = PI + r1 * r2*80 “
- Draw the transition diagram and transition table for
NFA that recognizes the language:
(a
| b)* aabbb
- If x and y are strings ; write the answers for the
following if x=”Hello” and y=”Welcome” :
- x2y4=
- xy2 =
- x5
- y.epsilon =