This test is run by .
Note that your final mark will not be saved in the system.
Note that your final mark will not be saved in the system.
3 - Data Structures GapFill
Target Level
C
Running Total
0
0%
Attempt
1 of 3
You must fill all the gaps before clicking ‘Check Answers!’
A data structure is a means by which data is stored in an organised way. While variables are sometimes described as data structures, the term tends to apply to a single structure that can store multiple data items.
are one such data structure, in which a fixed number of spaces, called
, are created
. Each one of these spaces is addressable via its
, the first being
and the last being
.
are an example of a last-in-first-out data structure, in which only the most recently added data item is accessible. Data items can be
onto the structure or
from it, the latter of which entails removing it. A related data structure is the
, which is an example of a first-in-first-out data structure.
are a specific type of
, in which each item of data points to other pieces of data. This is a non-linear, hierarchical data structure, with the
conceptually at the top.