Start learning →

Which stack operation removes the topmost element?

APEG
BPOP
CPIN
DPAD
Answer & Solution
Correct answer: B. POP
1. One of the two stack operations adds an element. 2. The other takes the most recent one away. 3. POP is used to remove the topmost element of the stack. 4. So the answer is POP. _Source: syllabus Computer Science, Ch 3 'Stack' and Ch 4 'Queue'_
Practise this question with Quill — IGNOU MCA →

Keep practising Stacks and Queues

Browse all Stacks and Queues questions for IGNOU MCA, or explore more Computer Science topics.

Start a Stacks and Queues lesson →
Related questions