Back to marketplace

1.4.2 Data Structures

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

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

Card preview (14)

#1
Front (Question)

what does dynamic and static mean

Back (Answer)

Dynamic - size can change Static - Size cannot change

#2
Front (Question)

how does a stack work

Back (Answer)

First in last out adds data to the top of the stakc

#3
Front (Question)

What are the operations for a stack

Back (Answer)

push -add item to the top Pop - remove item from the top isfull - check if stack is full isEmpty - check stack is empty

#4
Front (Question)

define array

Back (Answer)

A data structure where a contiguous section of data is allocated to RAM Single data type

#5
Front (Question)

define record

Back (Answer)

Multiple values under one identifier can be different data types row in a table

#6
Front (Question)

what are the features of a list

Back (Answer)

Mutable (items can change) can store multiple data types

#7
Front (Question)

What are the features of an Array

Back (Answer)

Mutable (items can change) only one datatype

#8
Front (Question)

What are the features of a Tuple

Back (Answer)

Immutble (items cant change) can store multiple data types

#9
Front (Question)

define graph

Back (Answer)

an abstract data structure representing complex relationships

#10
Front (Question)

what are the features of a graph

Back (Answer)

not heirarchial can be directed can be weighted can have cycles or loops

#11
Front (Question)

what are the characteristics of a tree

Back (Answer)

Heircahial data structure Data stored in nodes Has leaf nodes no cycles or loops

#12
Front (Question)

why use a hash table

Back (Answer)

when searching through a large data set binary search becomes exponentially quicker but may take a long time to sort data however a hash table can find an address almost instantly

#13
Front (Question)

what are the four key operations on a Queue

Back (Answer)

Append - enqueue dequeue isEmpty isFull

#14
Front (Question)

describe how an array can be used ot store and access data in a stack [4]

Back (Answer)

Pointer to the next free space (top of the stack) when data added added to pointer position/pointer+1 check if stack is full pointer incremented when removing data check empty pointer = pointer -1 pop and push