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 ▸

Describe what you understand by abstraction, and how it is relevant to software engineering.


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


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


When a stack is implemented using a 1-D array, adding a valid item can cause an execution error. Explain why an execution error can occur in this situation.