Q1:

2025: 27 May Shift 2

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

Answer options
Option 2
Correct Answer
Explanation for 2025: 27 May Shift 2 CSE question 1

Q2:

2025: 22 May Shift 1

Stack

Easy

Computer Science

Which of the following is true in the context of Stack?

Answer options
Option 2
Correct Answer
Explanation for 2025: 22 May Shift 1 CSE question 2

Q3:

2025: 22 May Shift 1

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). -

Answer options
Option 1
Correct Answer
Explanation for 2025: 22 May Shift 1 CSE question 3

Q5:

2025: 21 May Shift 1

Stack

Easy

Computer Science

Which of the following is an application of stack?

Answer options
Option 1
Correct Answer
Explanation for 2025: 21 May Shift 1 CSE question 5

Q6:

2025: 21 May Shift 1

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 -

Answer options
Option 2
Correct Answer
Explanation for 2025: 21 May Shift 1 CSE question 6

Q8:

2025: 20 May Shift 1

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')

Answer options
Option 2
Correct Answer
Explanation for 2025: 20 May Shift 1 CSE question 8

Q9:

2025: 20 May Shift 1

Stack

Easy

Computer Science

What is an underflow condition?

Answer options
Option 1
Correct Answer
Explanation for 2025: 20 May Shift 1 CSE question 9

Q10:

2025: 20 May Shift 1

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)

Answer options

Q12:

2025: 16 May Shift 1

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) -

Answer options

Q13:

2025: 16 May Shift 1

Stack

Easy

Computer Science

Multiple chairs in a vertical pile is an example of which of the following data structure?

Answer options

Q14:

2025: 15 May Shift 2

Stack

Easy

Computer Science

Stack works on the principle of :

Answer options

Q16:

2025: 15 May Shift 2

Stack

Easy

Computer Science

State the incorrect statement in the context of stack:

Answer options

Q18:

2025: 14 May Shift 1

Stack

Medium

Computer Science

While conversion of an infix notation to its equivalent Prefix/Postfix notation, what is pushed onto the stack ?

Answer options

Q19:

2025: 14 May Shift 1

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.

Answer options

Q20:

2025: 13 May Shift 2

Stack

Easy

Computer Science

Identify the type of expression where operators are placed before the corresponding operands:

Answer options

Q22:

2025: 13 May Shift 2

Stack

Easy

Computer Science

STACK follows _______ principle, where insertion and deletion is from _____ end/ends only.

Answer options