Back to marketplace

2.1 Algorithms

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

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

Card preview (24)

#1
Front (Question)

Principles of Computational Thinking

Back (Answer)

• Abstraction • Decomposition • Algorithmic thinking

#2
Front (Question)

Abstraction

Back (Answer)

The process of removing all unnecessary details and including only the most relevant details.

#3
Front (Question)

Decomposition

Back (Answer)

Breaking down a complex problem into smaller, more manageable parts.

#4
Front (Question)

Algorithmic thinking

Back (Answer)

A way of getting to a solution by identifying the individual steps needed.

#5
Front (Question)

Inputs

Back (Answer)

Anything that needs to be supplied to the program to meet its goals.

#6
Front (Question)

Processes

Back (Answer)

Which calculations must be performed while the program is running.

#7
Front (Question)

Outputs

Back (Answer)

What your program needs to output.

#8
Front (Question)

Types of Errors

Back (Answer)

• Syntax errors • Logic errors

#9
Front (Question)

Syntax Errors

Back (Answer)

Errors that break the grammatical rules of a programming language and stop it from running.

#10
Front (Question)

Logic Errors

Back (Answer)

Errors that produce an unexpected output, however the program still runs.

#11
Front (Question)

Structure Diagrams

Back (Answer)

Help to illustrate problem decomposition. They use ‘Step Wise Refinement’ Each node should achieve a single task which can then be coded as a subprogram

#12
Front (Question)

Trace Tables

Back (Answer)

Take each line at a time and write out the state of each variable.

#13
Front (Question)

Flow Charts

Back (Answer)

A method of representing the sequence of steps in an algorithm in the form of a diagram.

#14
Front (Question)

→

Back (Answer)

Represents flow from one component to the next.

#15
Front (Question)

▭

Back (Answer)

Process E.g. Input

#16
Front (Question)

▱

Back (Answer)

Input/output

#17
Front (Question)

◧◨

Back (Answer)

Subroutine

#18
Front (Question)

⍚

Back (Answer)

Decision E.g. IF/ELSE

#19
Front (Question)

▢

Back (Answer)

Start/stop. Terminator.

#20
Front (Question)

Types of Searches

Back (Answer)

• Binary search • Linear search

#21
Front (Question)

Binary Search

Back (Answer)

• Calculate the midpoint of data set. • Check if that is the desired item IF desired item is lower than midpoint… • Repeat on left half data set IF desired item is higher than midpoint… • Repeat on right side of data set • Repeat until item is found.

#22
Front (Question)

Characteristics of Binary Search

Back (Answer)

• Required data set to be ordered • More efficient than linear search

#23
Front (Question)

Linear Search

Back (Answer)

Starting from the beginning of a data set, each item is checked against to see if it is the desired item.

#24
Front (Question)

Characteristics of Linear Search

Back (Answer)

• Will work on any storage device • Efficient for smaller data sets, not large ones.