1. Home
  2. Computer Science

Filters

Found 5 Questions

Set Default
Exams
Subjects
Topics

List of top Computer Science Questions on Stack

Which of the following are applications of stack?
A. Print commands from multiple files from the same computer
B. Bangles worn on wrist
C. Multiple chairs in a vertical pile
D. Pile of clothes in an almirah
Choose the correct answer from the options given below:
  • CUET (UG) - 2026
  • CUET (UG)
  • Computer Science
  • Stack
In a stack of Size 'N', if there are 'M' elements inserted into the stack and then 'M/2' are popped out. What is the remaining number of elements left in the stack? Assume 'M' $<$ 'N'.
  • CUET (UG) - 2026
  • CUET (UG)
  • Computer Science
  • Stack
What will be the sequence of elements removed from the stack after performing the following operations?
Operations:
PUSH(10)
PUSH(20)
POP()
POP()
PUSH(30)
PUSH(40)
POP()
POP()
Options:
(A) 10
(B) 20
(C) 30
(D) 40
Choose the correct sequence from the options given below:
  • CUET (UG) - 2024
  • CUET (UG)
  • Computer Science
  • Stack
Match List-I with List-II:
List-I (Term)List-II (Description)
(A) Prefix(I) In this, the element entered first will be removed last
(B) Postfix(II) In this, the element entered first will be removed first.
(C) Queue(III) In this, the operator is placed before the operands.
(D) Stack(IV) In this, the operator is placed after the operands.
  • CUET (UG) - 2024
  • CUET (UG)
  • Computer Science
  • Stack
Stack works on the principle of ________.
  • CUET (UG) - 2024
  • CUET (UG)
  • Computer Science
  • Stack
contact us
terms & conditions
Privacy & Policy
© 2026 Patronum Web Private Limited