Stacks In Data Structures - Study Mode

[#96] What is the postfix expression for the infix expression? a-b-c
Correct Answer

(B) ab - c -

[#97] Which is the predefined method available in Java to convert decimal to binary numbers?
Correct Answer

(D) toBinaryString(int)

[#98] What is the corresponding postfix expression for the given infix expression? a*(b+c)/d
Correct Answer

(D) abc+*d/

[#99] What would be the Prefix notation for the given equation? (a+(b/c)*(d^e)-f)
Correct Answer

(B) -+a*/bc^def

[#100] What determines the order of evaluation of a prefix expression?
Correct Answer

(A) precedence and associativity