Topic 5: IB Computer Science Abstract Data Structure

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/35

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:17 PM on 4/6/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

36 Terms

1
New cards

Topic 5

Abstract Data Structures

2
New cards

Thinking recursive

A thought pattern pertaining to recursion

3
New cards

Recursion

The process of a method calling itself in order to solve a problem.

4
New cards

Itteration

the repetition of a process

5
New cards

base case

The condition under which a recursive function returns without calling itself, thereby ending the recursive calls.

6
New cards

recursive case

a condition of the input data where the data will be handled by call(s) to the same program.

7
New cards

Advantages of using recursion

Elegance

8
New cards

Efficiency

9
New cards

2 dimensional array

a data structure that contain rows and columns of data. Each element position requires an index specifying the row and an index specifying the column

10
New cards

jaggered array

A 2D array with non constant inner array lengths

11
New cards

stack

a collection of items in which the last item added to the collection is the first one to be removed

12
New cards

null

the final 'element' of any stack

13
New cards

.push()

Method to add an item to a stack

14
New cards

.pop()

method removes and returns the last object from a stack

15
New cards

.isEmpty()

Method to determine if a collection is empty

16
New cards

Queue

A collection of data with a first in first out nature

17
New cards

.enqueue()

Queue Operation: add an element to the rear.

18
New cards

.dequeue()

Queue Operation: remove an element from the front.

19
New cards

Linked lists

a collection of nodes arranged so that each node contains a link to the next node in the sequence

20
New cards

singly linked list

a data structure in which each list element contains a pointer to the next list element

21
New cards

doubly linked list

a linked list in which each element has both forward and backward pointers.

22
New cards

Circular Linked List

A list in which every node has a successor; the "last" element is succeeded by the "first" element

23
New cards

Binary tree

A data structure that consists of nodes, with one root node at the base of the tree, and two nodes (left child and right child) extending from the root, and from each child node.

24
New cards

Root node

node at the top of a tree

25
New cards

Leaf node

A tree node that has no children

26
New cards

branch node

Any internal node of a tree (Not a leaf or root node)

27
New cards

subtree

A tree that is part of another tree.

28
New cards

Edge

Connection between nodes

29
New cards

null

All leaf nodes of a tree point to :

30
New cards

Visiting

The process of looking at a node

31
New cards

Traversal

the process of accessing each item in a tree one at a time

32
New cards

preorder traversal

root, left subtree, right subtree

33
New cards

inorder traversal

left subtree, root, right subtree

34
New cards

postorder traversal

left subtree, right subtree, root

35
New cards

static

a data structure with a constant size is said to be:

36
New cards

dynamic

a data structure with a variable size is said to be:

Explore top flashcards

flashcards
Unit 5 #53-103
53
Updated 341d ago
0.0(0)
flashcards
Q3 SOC SCI QE chapter 12
38
Updated 1118d ago
0.0(0)
flashcards
Personal Finance Midterm Vocab
22
Updated 1174d ago
0.0(0)
flashcards
Chapter 3 Key Concepts
31
Updated 188d ago
0.0(0)
flashcards
Unit 5 #53-103
53
Updated 341d ago
0.0(0)
flashcards
Q3 SOC SCI QE chapter 12
38
Updated 1118d ago
0.0(0)
flashcards
Personal Finance Midterm Vocab
22
Updated 1174d ago
0.0(0)
flashcards
Chapter 3 Key Concepts
31
Updated 188d ago
0.0(0)