IB Computer Science HL Topic 5 (Abstract Data Structures)

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

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 11 people
1117 days ago
5.0(1)
note Note
studied byStudied by 19 people
836 days ago
5.0(1)
note Note
studied byStudied by 469 people
761 days ago
5.0(1)
note Note
studied byStudied by 6 people
799 days ago
5.0(1)
note Note
studied byStudied by 27 people
720 days ago
4.0(2)
note Note
studied byStudied by 36 people
834 days ago
4.5(2)
note Note
studied byStudied by 8 people
540 days ago
5.0(1)
note Note
studied byStudied by 214 people
672 days ago
5.0(2)

Explore top flashcards

flashcards Flashcard (20)
studied byStudied by 9 people
756 days ago
5.0(1)
flashcards Flashcard (74)
studied byStudied by 52 people
737 days ago
4.8(8)
flashcards Flashcard (108)
studied byStudied by 9 people
25 days ago
5.0(2)
flashcards Flashcard (169)
studied byStudied by 20 people
64 days ago
5.0(3)
flashcards Flashcard (39)
studied byStudied by 45 people
811 days ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 3 people
679 days ago
5.0(1)
flashcards Flashcard (38)
studied byStudied by 92 people
394 days ago
5.0(1)
flashcards Flashcard (33)
studied byStudied by 6 people
756 days ago
5.0(1)
robot