Describe a stack data structure.

A stack is a LIFO (Last In First Out) data structure. 
Analogous to a stack of plates, every new data entry is placed (or pushed) onto the top of the stack, and to get the the data below it, you must first remove all the data above it.

MT

Related Computing A Level answers

All answers ▸

What is the denary equivalent of the hexadecimal number A7?


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


Explain how the fetch execute cycle works? Include the specific registers and buses being used


In programming, some languages are compiled and others are interpreted. Define the difference between the two.