Stacks In Data Structures - Study Mode

[#121] What would be the Prefix notation for the given equation? (A*B)+(C*D)
Correct Answer

(A) +*AB*CD

[#122] What is the corresponding postfix expression for the given infix expression? a+(b*c(d/e^f)*g)*h)
Correct Answer

(B) abcdef^/*g*h*+

[#123] Identify the infix expression from the list of options given below.
Correct Answer

(A) a/b+(c-d)

[#124] The optimal data structure used to solve Tower of Hanoi is . . . . . . . .
Correct Answer

(D) Stack

[#125] Which of the following statement is incorrect?
Correct Answer

(A) Postfix operators use value to their right