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 29 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 8 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 8 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 3 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 109 people
Updated ... ago
4.7 Stars(3)
note Note
studied byStudied by 23 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 10 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 6 people
Updated ... ago
5.0 Stars(1)

Explore top flashcards

flashcards Flashcard22 terms
studied byStudied by 23 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard20 terms
studied byStudied by 3 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard48 terms
studied byStudied by 71 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard404 terms
studied byStudied by 26 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard25 terms
studied byStudied by 9 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard98 terms
studied byStudied by 8 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard46 terms
studied byStudied by 11 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard310 terms
studied byStudied by 74 people
Updated ... ago
5.0 Stars(1)