Gate CS-2004 Question Paper With Solutions

Q. 15 Consider the grammar with the following translation rules and E as the start

symbol.

Gate CS-2004 Question Paper With Solutions

Compute E.value for the root of the parse tree for the expression: 2 # 3 & 5 # 6 & 4.

# 6 & 4.

(A) 200

(B) 180

(C) 160

(D) 40

Answer: (c)
Explanation:

Gate CS-2004 Question Paper With Solutions

Learn More:   Gate ME 2014-4 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here