Back to marketplace

2.1 - Algorithms

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

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

Card preview (20)

#1
Front (Question)

What is an algorithm?

Back (Answer)

A sequence of steps that can be followed to complete a task

#2
Front (Question)

What is algorithmic thinking?

Back (Answer)

Following logical steps to solve a problem

#3
Front (Question)

What is abstraction?

Back (Answer)

Ignoring unnecessary information to simplify a problem

#4
Front (Question)

What is decomposition?

Back (Answer)

Breaking down a problem into smaller tasks so it is easier to solve

#5
Front (Question)

In a flowchart what represents start/stop terminators?

Back (Answer)

A ‘squircle’ (square-circle) ▢

#6
Front (Question)

In a flowchart what represents subroutines?

Back (Answer)

A rectangle with a vertical line either side

#7
Front (Question)

In a flowchart what is represents the direction of flow?

Back (Answer)

An arrow

#8
Front (Question)

In a flowchart what represents an input or output?

Back (Answer)

A parallelogram

#9
Front (Question)

In a flowchart what represents a process?

Back (Answer)

A rectangle

#10
Front (Question)

In a flowchart what is used to represent a decision?

Back (Answer)

A diamond with two branches (yes and no)

#11
Front (Question)

How do you use a trace table?

Back (Answer)

• Go through every line • Only add to a column when that column’s value changes • Move onto a new row when you move into a new ‘block’ in the code

#12
Front (Question)

What is a linear search?

Back (Answer)

Compares each item one by one until the target is found or the end of the list is reached

#13
Front (Question)

What are the advantages of using a linear search?

Back (Answer)

• No need for the list to be in order • Quick process for short lists

#14
Front (Question)

What is the disadvantage of using a linear search?

Back (Answer)

Long process for long lists

#15
Front (Question)

What is a binary search?

Back (Answer)

• Compares middle item to the target • Discards half of the list which the target can’t be in • Finds the next middle item and repeats until the target is found/runs out of items

#16
Front (Question)

What is the advantage of using a binary search?

Back (Answer)

Time efficient in a large data set

#17
Front (Question)

What is the disadvantage of using a binary search:?

Back (Answer)

Needs to be in order beforehand

#18
Front (Question)

What is bubble sort?

Back (Answer)

• In one pass, go through each pair, swapping if needed • Repeat passes until a pass happens with no swaps

#19
Front (Question)

What is merge sort?

Back (Answer)

• Divides the list by two until in pairs and compares numbers, swapping them to be in order • Combines two lists at a time, keeping the items in order

#20
Front (Question)

What is insertion sort?

Back (Answer)

• The list is split into sorted values on the left and unsorted on the right • Starting from the left, unsorted values are checked and inserted in the correct position in the sorted part