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 ▸

In a computer program, a parameter may be passed to a procedure by value. Explain how this method works.


What is the difference between simplex, half duplex and full duplex?


Define resolution in regards to images and how it differs from colour depth


How can the idea of precondtioning as part of 'Thinking Ahead' benefit a programmer when writing code?