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.

Related Computing A Level answers

All answers ▸

What is the difference between compile-time errors and runtime errors?


Describe a difference between an array and a linked list.


What is an OOP (Object Oriented Programming) language?


How can I decide whether Quicksort or Mergesort is better for a given situation?


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2024

Terms & Conditions|Privacy Policy