Back to marketplace

1.4.2 Data Structures

No description yet. This curated deck is ready for daily study.

Total cards: 24•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (24)

#1
Front (Question)

What is an array?

Back (Answer)

An ordered, finite set of elements of a single type

#2
Front (Question)

What is meant by a 1D array?

Back (Answer)

A linear array

#3
Front (Question)

What is meant by a 2D array?

Back (Answer)

Visualised as a table/spreadsheet

#4
Front (Question)

What is meant by a 3D array?

Back (Answer)

Visualised as a multi-page spreadsheet

#5
Front (Question)

What is a record?

Back (Answer)

A row in a database Made up of fields

#6
Front (Question)

What is a list?

Back (Answer)

A finite, ordered set of elements Items can occur more than once

#7
Front (Question)

How are lists initialised?

Back (Answer)

With square brackets

#8
Front (Question)

What is a tuple?

Back (Answer)

An ordered set of values of any data type

#9
Front (Question)

How are tuples initialised?

Back (Answer)

With regular brackets

#10
Front (Question)

Are static data structures mutable or immutable?

Back (Answer)

Immutable

#11
Front (Question)

Are dynamic data structures mutable or immutable?

Back (Answer)

Mutable

#12
Front (Question)

What does immutable mean?

Back (Answer)

Size of a structure is defined at run-time and cannot change

#13
Front (Question)

What does mutable mean?

Back (Answer)

Size of a structure is defined at run-time and is able to change

#14
Front (Question)

Which data structures are static?

Back (Answer)

Arrays Stacks Queues Trees

#15
Front (Question)

Which data structures are dynamic?

Back (Answer)

Lists Linked lists Trees Hash tables

#16
Front (Question)

What is a linked list?

Back (Answer)

Holds an ordered sequence

#17
Front (Question)

Describe how linked lists are stored.

Back (Answer)

Items do not have to be in contiguous data locations Each node contains a data field & a link or pointer field

#18
Front (Question)

What is the data field of a node?

Back (Answer)

Actual data associated with list

#19
Front (Question)

What is the pointer field of a node?

Back (Answer)

Address of the next item in list

#20
Front (Question)

What is a graph?

Back (Answer)

Set of vertices/nodes connected by edges/arcs

#21
Front (Question)

What is a directed graph?

Back (Answer)

Edges can only be traversed in one direction

#22
Front (Question)

What is an undirected graph?

Back (Answer)

Edges can be traversed in both directions

#23
Front (Question)

What is a weighted graph?

Back (Answer)

Each edge has a cost attached

#24
Front (Question)

How are graphs implemented?

Back (Answer)

Adjacency matrix or adjaceny list