What is the main difference between the Stack and the Queue abstract data types?

Queues are FIFO (first in, first out) data types. That is, the first object to be queued is the first objected to be dequeued. Stacks are LIFO (last in, first out) data types, meaning that the last object pushed onto the stack is the first object to be popped from the stack.

RH
Answered by Rob H. Computing tutor

4193 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

Describe an IDE and its features in programming. (3 Marks)


Explain a bubble sort. You may use pseudocode and/or diagrams to help demonstrate your answer.


Explain how a stack could be used in the process of evaluating an expression in Reverse Polish notation.


What are the different development methodologies and what are their advantages and disadvantages?


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning