Back to marketplace

Topic 1 - Problem Solving

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

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

Card preview (23)

#1
Front (Question)

What is an algorithm?

Back (Answer)

A set of instructions that perform a specific task.

#2
Front (Question)

What are algorithms used for?

Back (Answer)

Calculations, data processing and automated reasoning.

#3
Front (Question)

What are the 5 different representations of algorithms?

Back (Answer)

Flowcharts, Pseudocode, Structured English, Written descriptions and program code.

#4
Front (Question)

What are flowcharts?

Back (Answer)

Diagrams consisting of geometric shapes that help visualise a problem.

#5
Front (Question)

What is Pseudocode?

Back (Answer)

An informal description of a program or algorithm.

#6
Front (Question)

What is Structured English?

Back (Answer)

Similar to Pseudocode except symbols are often written out (e.g. ADD instead of +)

#7
Front (Question)

What is the purpose of algorithms?

Back (Answer)

To visualise the logical steps of a task.

#8
Front (Question)

What is a Quick Sort?

Back (Answer)

A quick and efficient algorithm used to put data into a particular order (often ascending/descending or rearranging letters of the alphabet)

#9
Front (Question)

What are the 4 steps to execute a Quick Sort algorithm?

Back (Answer)

• Select a pivot from the list • Write down all the items less than and bigger than the pivot, keeping the order, in a sub-list. • Write down the remaining items, keeping the order, in a sub-list. • Repeat steps 1-3 until all items are chosen as a pivot.

#10
Front (Question)

What is a Bubble Sort?

Back (Answer)

An algorithm that works by repeatedly stepping through a list, comparing each item with the following item, swapping them if necessary.

#11
Front (Question)

What is a Selection Sort?

Back (Answer)

An algorithm that splits the input list into two imaginary sub-lists: a sorted list and an unsorted list.

#12
Front (Question)

What are the steps to execute a Selection Sort algorithm?

Back (Answer)

• Swap the smallest element in the list with the first element in the list. • Repeat the process with the nth smallest element and replace it with the element in the nth position in the list. • Continue until the list is sorted.

#13
Front (Question)

What is a search algorithm?

Back (Answer)

Finds a specific item within a larger group.

#14
Front (Question)

How does a Linear Search algorithm work?

Back (Answer)

Checks every single item in the list until you find your search item, or fail to find it at all.

#15
Front (Question)

Why is a Linear Search algorithm not very efficient?

Back (Answer)

The time it takes is related to how long and where in the list the item is.

#16
Front (Question)

How does a Binary Search algorithm work?

Back (Answer)

Continually divides your list by two (hence BINARY), eliminating the part of the list that cannot have your item in it.

#17
Front (Question)

How does a Breadth First Search (BFS) work?

Back (Answer)

Works by visiting nodes closest to the starting point first.

#18
Front (Question)

How does a Depth First Search (DFS) work?

Back (Answer)

Works by visiting nodes as far into the graph as possible before backtracking to visit the previously unvisited nodes.

#19
Front (Question)

How is algorithmic efficiency measured?

Back (Answer)

In terms of time (how long it takes to run) and space (how much memory is required).

#20
Front (Question)

What are the factors that affect algorithmic efficiency?

Back (Answer)

• How well designed the data structures are • The software and hardware • The programming language and translator used

#21
Front (Question)

What is decomposition?

Back (Answer)

Breaking a problem down into smaller, more manageable sub-programs.

#22
Front (Question)

What are two advantages of decomposition?

Back (Answer)

• Different people can work on different sub-problems 2. Able to compute the solution in parallel

#23
Front (Question)

What are two disadvantages of decomposition?

Back (Answer)

• The problem must be understood well. 2. It can be difficult to combine the solutions