CS-2002 Question Paper With Solutions

Q. 44 To evaluate an expression without any embedded function calls:

(A) One stack is enough

(B) Two stacks are needed

(C) As many stacks as the height of the expression tree are needed

(D) A Turing machine is needed in the general case

Answer: (A)

Explanation:

CS-2002 Question Paper With Solutions

Learn More:   Gate EC-2007 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here