GATE CS 2002 · Arrays & Matrix Representation

MCQ · 1 mark · Problem PROG-DSTR-0245

To evaluate an expression without any embedded function calls
  1. A
    One stack is enough
  2. B
    Two stack are needed
  3. C
    As many stacks as the height of the expression tree are needed
  4. D
    A Turning machine is needed in the general case

Solve it on GATE DA practice →More Basic Data Structures problems

Show the worked solutionOfficial GATE Answer Key: Option A.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/849/gate2002-2-19

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com