Queues and Stacks (AQA A-Level Computer Science): Flashcards

📚Flashcards
Queues and Stacks
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

10 cards from this deck

Show

Abstract data type

Theoretical data structure not built into programming languages

Stack structure type

Last In First Out (LIFO)

Push operation

Adding a new item to the top of the stack

Pop operation

Removing an item from the top of the stack

Stack overflow error

Trying to push data when the stack is full

Queue structure type

First In First Out (FIFO)

Linear queue

Queue visualised as data arranged in a line

Circular queue advantage

Wraps pointer around to reuse freed memory spaces

Priority queue

Queue where items processed based on priority ratings

Stack frames

Store info about running programs and function calls

Join 100,000+ A-Level students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.