Save
Topic 6: Data structures
Save
Share
Learn
Content
Leaderboard
Learn
Created by
Mitchell Nweze
Visit profile
Cards (7)
A data structure
is a set of related data items stored in a computers
memory
Data structures are split into
two
which are
static
and dynamic
In a static data structure, The size of the data is set at the
beginning
of the program and cannot be
changed
A static data structure is
easier
to program as you know how much
space
they
take
up
In Dynamic structure, there is no
fixed
data
length
or size, They tend to be
harder
to
program
An array is a
collection
of data elements of the same
data
type stored under a
single
identifier
A record is a set of data items all related to a
single
entity