Describe a queue data structure.

A queue is a FIFO (First In First Out) data structure.
Analogous to a production line, the first item in the list will be the first to be removed, the second the second and so on.

MT

Related Computing A Level answers

All answers ▸

A computer stores floating point numbers of size 1 byte, with 3 bits for the mantissa and 5 bits for the exponent. State what the effects would be on the stored numbers if instead 5 bits were used for the mantissa and 3 bits were used for the exponent.


In Python, write a recursive function that returns the first n Fibonacci numbers.


Outline the differences between how a compiler and an interpreter works, and explain the advantages and usage of of each [12 marks]


What is the difference between a high level language and a low level language?