In: Computer Science
E ::= E + T | T
T ::= T * F | F
F ::= num | (E) Num ::= 0 | 1 | 2 | 3 | 4 | 5 | . . . . . . .
Question: 1
a. Show the Left-most derivation for the expression: 5 * 7 + 6 * (1
+ 2).
b. Show the Right-most derivation for the expression: 5 * 7 + 6 * (1 + 2).