Question: 2. (40) Using your grammar for the above question, draw parse trees and syntax trees for: a) -a + b* (-c-d) *e+f*g b) a

2. (40) Using your grammar for the above question, draw parse trees and syntax trees for: a) -a + b* (-c-d) *e+f*g b) a = b * c* (d + e) + (f - g) c) a = b = c = d+ e* ((f + g) * -h * i) d) a || (-b + c * d) && e || (f + g) || h e) a && (b != c) || (d > e) && (f != g)
Step by Step Solution
3.55 Rating (159 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
