IB Computer Science HL Topic 5 (Abstract Data Structures)

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

​​2D arrays

1 / 23

flashcard set

Earn XP

Description and Tags

imported from computersciencecafe.com

24 Terms

1

​​2D arrays

A data structure that stores elements in a grid-like format with rows and columns.

New cards
2

Stacks

A data structure that follows the Last-In-First-Out (LIFO) principle, where elements are added and removed from the same end.

New cards
3

Queues

A data structure that follows the First-In-First-Out (FIFO) principle, where elements are added to one end and removed from the other end.

New cards
4

Heaps

A tree-based data structure that is used to implement priority queues, where the highest priority element is always at the root.

New cards
5

Linked lists

A data structure that stores elements in nodes, where each node contains a value and a pointer to the next node.

New cards
6

Double linked lists

A linked list where each node has a pointer to both the next and the previous node.

New cards
7

Circular linked lists

A linked list where the last node points to the first node, creating a circular structure.

New cards
8

Pointers

A variable that stores the memory address of another variable.

New cards
9

Binary trees

A tree-based data structure where each node has at most two children.

New cards
10

Non-binary trees

A tree-based data structure where each node can have more than two children.

New cards
11

Nodes

An individual element of a data structure, such as a linked list or a tree.

New cards
12

Parent node

A node that has one or more children.

New cards
13

Left-child node

The child node of a parent that appears to the left.

New cards
14

Right-child node

The child node of a parent that appears to the right.

New cards
15

Subtree node

A smaller tree that is part of a larger tree.

New cards
16

Root node

The topmost node in a tree.

New cards
17

Leaf node

A node that has no children.

New cards
18

Tree traversal

The process of visiting all nodes in a tree data structure.

New cards
19

Pre-order traversal

A type of tree traversal where the root node is visited first, followed by the left subtree and then the right subtree.

New cards
20

Post-order traversal

A type of tree traversal where the left subtree is visited first, followed by the right subtree, and then the root node.

New cards
21

In-order traversal

A type of tree traversal where the left subtree is visited first, followed by the root node, and then the right subtree.

New cards
22

Recursion

A programming technique where a function calls itself.

New cards
23

Base case

The terminating condition for a recursive function.

New cards
24

Recursive case

The condition where a recursive function continues to call itself.

New cards

Explore top notes

note Note
studied byStudied by 8 people
... ago
5.0(1)
note Note
studied byStudied by 25 people
... ago
5.0(2)
note Note
studied byStudied by 16 people
... ago
5.0(1)
note Note
studied byStudied by 29 people
... ago
5.0(1)
note Note
studied byStudied by 67 people
... ago
4.7(3)
note Note
studied byStudied by 10 people
... ago
5.0(1)
note Note
studied byStudied by 34 people
... ago
5.0(1)
note Note
studied byStudied by 4699 people
... ago
5.0(6)

Explore top flashcards

flashcards Flashcard (69)
studied byStudied by 6 people
... ago
5.0(2)
flashcards Flashcard (81)
studied byStudied by 24 people
... ago
5.0(1)
flashcards Flashcard (31)
studied byStudied by 6 people
... ago
5.0(1)
flashcards Flashcard (75)
studied byStudied by 43 people
... ago
5.0(2)
flashcards Flashcard (335)
studied byStudied by 5 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 11 people
... ago
5.0(1)
flashcards Flashcard (30)
studied byStudied by 5 people
... ago
5.0(1)
flashcards Flashcard (33)
studied byStudied by 28 people
... ago
5.0(1)
robot