Q1:
2025: 27 May Shift 2
Computer Science
Stack
Easy
Computer Science
If the Elements "P", "Q", "R", "S" are inserted in order in the Stack and are deleted one at a time, then what will be the order of removal of elements?
(A) P
(B) Q
(C) R
(D) S
2025: 27 May Shift 2
Computer Science
Stack
Easy
Computer Science
If the Elements "P", "Q", "R", "S" are inserted in order in the Stack and are deleted one at a time, then what will be the order of removal of elements?
(A) P
(B) Q
(C) R
(D) S
2025: 22 May Shift 1
Computer Science
Stack
Easy
Computer Science
Which of the following is true in the context of Stack?
2025: 22 May Shift 1
Computer Science
Stack
Medium
Computer Science
What will be the correct order in which operators will be evaluated in following postfix expression?
5 8 4 / 7 * + 2 -
(A). /
(B). *
(C). +
(D). -
2025: 22 May Shift 1
Computer Science
Stack
Medium
Computer Science
What will be the result of evaluation of the following postfix expression?
5 3 2 * + 9 -
2025: 21 May Shift 1
Computer Science
Stack
Easy
Computer Science
Which of the following is an application of stack?
2025: 21 May Shift 1
Computer Science
Stack
Medium
Computer Science
In process of converting the infix expression A + B * C - D to postfix expression, what will be the correct order of stack operations?
(A). Push *
(B). Push +
(C). Pop * and + then Push -
(D). Pop -
2025: 21 May Shift 1
Computer Science
Stack
Easy
Computer Science
What will be the result of evaluation of the following postfix expression?
8 9 6 * + 3 -
2025: 20 May Shift 1
Computer Science
Stack
Easy
Computer Science
Given various operations to be performed on stack, find the output:
stack=[ ]
stack.append('C')
stack.append('O')
stack.append('M')
stack.pop()
stack.append('U')
stack.append('R')
stack.pop()
stack.append('N')
stack.append('T')
2025: 20 May Shift 1
Computer Science
Stack
Easy
Computer Science
What is an underflow condition?
2025: 20 May Shift 1
Computer Science
Stack
Medium
Computer Science
What will be the output in postfix notation of the following infix notation:-
x * y + z 3 *(4 + 5) (x + y)/(z * 5)
2025: 16 May Shift 1
Computer Science
Stack
Medium
Computer Science
What will be the value of the following post-fix expression?
9 6 3 * 6 / +
2025: 16 May Shift 1
Computer Science
Stack
Medium
Computer Science
Consider the postfix expression:
7 8 2 * 4 / + 3 -
In which order the operators will be evaluated?
(A) +
(B) *
(C) /
(D) -
2025: 16 May Shift 1
Computer Science
Stack
Easy
Computer Science
Multiple chairs in a vertical pile is an example of which of the following data structure?
2025: 15 May Shift 2
Computer Science
Stack
Easy
Computer Science
Stack works on the principle of :
2025: 15 May Shift 2
Computer Science
Stack
Medium
Computer Science
Evaluate the following postfix expression:
7 8 2 * 4 / +
2025: 15 May Shift 2
Computer Science
Stack
Easy
Computer Science
State the incorrect statement in the context of stack:
2025: 14 May Shift 1
Computer Science
Stack
Easy
Computer Science
Stack is based on the principle of____________ .
2025: 14 May Shift 1
Computer Science
Stack
Medium
Computer Science
While conversion of an infix notation to its equivalent Prefix/Postfix notation, what is pushed onto the stack ?
2025: 14 May Shift 1
Computer Science
Stack
Easy
Computer Science
Which of the following statements are incorrect?
(A) Stack is a non-linear data structure.
(B) Stack is a linear data structure.
(C) PUSH operation adds a new element at the bottom of the stack.
(D) PUSH operation adds a new element at the top of the stack.
2025: 13 May Shift 2
Computer Science
Stack
Easy
Computer Science
Identify the type of expression where operators are placed before the corresponding operands:
2025: 13 May Shift 2
Computer Science
Stack
Medium
Computer Science
Evaluate the postfix expression:
24 5 7 * 5 / +
2025: 13 May Shift 2
Computer Science
Stack
Easy
Computer Science
STACK follows _______ principle, where insertion and deletion is from _____ end/ends only.