Stacks In Data Structures - Study Mode

[#86] How many types of input characters are accepted by this algorithm?
Correct Answer

(C) three

[#87] Consider the postfix expression 4 5 6 a b 7 8 a c, where a, b, c are operators. Operator a has higher precedence over operators b and c. Operators b and c are right associative. Then, equivalent infix expression is
Correct Answer

(C) 4 b 5 a 6 c 7 a 8

[#88] In infix to postfix conversion algorithm, the operators are associated from?
Correct Answer

(B) left to right

[#89] Which of the following is an infix expression?
Correct Answer

(A) (a+b)*(c+d)

[#90] Evaluate and write the result for the following postfix expression abc*+de*f+g*+ where a=1, b=2, c=3, d=4, e=5, f=6, g=2.
Correct Answer

(B) 59