Skip to content
Related Articles

Related Articles

Improve Article

GATE | GATE CS 2011 | Question 27

  • Last Updated : 28 Jun, 2021

Consider two binary operators ‘\uparrow ‘ and ‘\downarrow‘ with the precedence of operator \downarrow being lower than that of the \uparrow operator. Operator \uparrow is right associative while operator \downarrow is left associative. Which one of the following represents the parse tree for expression (7 \downarrow 3 ­\uparrow 4 ­\uparrow 3 \downarrow 2)?

(A) A
(B) B
(C) C
(D) D

Answer: (B)

Explanation: See question 3 of

Quiz of this Question

Attention reader! Don’t stop learning now.  Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.

Learn all GATE CS concepts with Free Live Classes on our youtube channel.

My Personal Notes arrow_drop_up
Recommended Articles
Page :