Back to marketplace

4.2 Data Structures

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

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

Card preview (17)

#1
Front (Question)

What is an array?

Back (Answer)

A data structure that consists of an ordered, finite set of elements of a single data type.

#2
Front (Question)

What are 3 properties of arrays?

Back (Answer)

Data is stored contiguously in memory for efficient access mutable - content can be changed static - size can’t be changed after the array is declared

#3
Front (Question)

What is a record?

Back (Answer)

A collection of related attributes/fields under a single identifier.

#4
Front (Question)

What is a property of records?

Back (Answer)

mutable - the content can be changed

#5
Front (Question)

What is a list?

Back (Answer)

A data structure that consists of an ordered, finite set of elements of any data type.

#6
Front (Question)

What are 2 properties of lists?

Back (Answer)

dynamic - size can be changed after declaration mutable - content can be changed

#7
Front (Question)

What is a tuple?

Back (Answer)

An immutable, static data structure used to store an ordered, finite set of elements of any data type.

#8
Front (Question)

What is a linked list?

Back (Answer)

An abstract data structure that consists of nodes that each contain data and a pointer that is the address of the next node in the list.

#9
Front (Question)

What are the 3 pointers?

Back (Answer)

null pointer for end of list start pointer to first node in list next free pointer to next available node in list

#10
Front (Question)

What is a graph?

Back (Answer)

An abstract data structure comprising of nodes and edges. Edges can have weights (costs) and directions and connect nodes together.

#11
Front (Question)

What is a stack?

Back (Answer)

An abstract static data structure where the last item in is the first item out.

#12
Front (Question)

What pointer do you need for a stack?

Back (Answer)

A pointer to the top item in the stack.

#13
Front (Question)

What is a queue?

Back (Answer)

An abstract data structure where the first item in is the first item out.

#14
Front (Question)

What pointers do you need for a queue?

Back (Answer)

a front and rear pointer

#15
Front (Question)

What is a tree?

Back (Answer)

A hierarchical abstract data structure with a root node and child nodes and branches that connect parent nodes to child nodes.

#16
Front (Question)

What is a binary search tree?

Back (Answer)

A tree where each node can have up to 2 child nodes.

#17
Front (Question)

What is a hash table?

Back (Answer)

An abstract data structure where a hash function is applied onto the data to produce a hash. This hash is the address in the hash table where the data is stored.