Back to marketplace

2.1 Algorithms STARTED

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

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

Card preview (24)

#1
Front (Question)

Define linear search

Back (Answer)

A sequence that checks every item in a list 1 by 1 until it finds the desired item.

#2
Front (Question)

Define binary search

Back (Answer)

A sequence that finds the desired item of a list according to the midpoints.

#3
Front (Question)

What happens if the midpoint is greater than the desired item?

Back (Answer)

It scraps the midpoint and the data to its left and checks again.

#4
Front (Question)

What happens if the midpoint is smaller than the desired item?

Back (Answer)

It scraps the midpoint and the data to its right.

#5
Front (Question)

Define bubble sort

Back (Answer)

Bubble sort makes multiple passes through a list. It compares items and changes those that are out of order. Each pass through the list places the next largest value in its proper place.

#6
Front (Question)

How are numbers sorted in bubble sort?

Back (Answer)

Compares 1st 2 items and swaps them if necessary.

#7
Front (Question)

Define pass

Back (Answer)

A full cycle of swapping (doesn’t mean list is sorted).

#8
Front (Question)

Define insertion sort

Back (Answer)

A more efficient version of bubble sort. Each pass would insert each number into its correct place.

#9
Front (Question)

How are numbers sorted in insertion sort?

Back (Answer)

Compares 1st 2 items and inserts the necessary item into its complete correct position rather than swapping them. Has 2 lists, unsorted and sorted.

#10
Front (Question)

Where is insertion sort very efficient?

Back (Answer)

A small data set or where data is mostly sorted. E.g. a pack of cards.

#11
Front (Question)

What is merge sort?

Back (Answer)

An efficient sequence that divides an unsorted list into sublists with 1 item each and merges the lists together until it has a complete sorted list.

#12
Front (Question)

Define computational thinking

Back (Answer)

Use of computers to solve problems.

#13
Front (Question)

Define abstraction

Back (Answer)

Representing “real world” problems in a computer using variables and symbols and removing unnecessary elements from the problem.

#14
Front (Question)

Define decomposition

Back (Answer)

Breaking down a large problems into smaller sub-problems.

#15
Front (Question)

Define algorithmic thinking

Back (Answer)

Identifying the steps involved in solving a problem.

#16
Front (Question)

Computational thinking

Back (Answer)

Describes the thought processes involved in understanding problems and formulating solutions in such a way that they can be carried out by computers

#17
Front (Question)

Decomposition

Back (Answer)

Reduces a problem into sub-problems or components. These smaller parts are easier to understand and solve

#18
Front (Question)

Decomposition is an example of what type of approach?

Back (Answer)

Divide-and-conquer

#19
Front (Question)

Abstraction

Back (Answer)

Identifies essential elements that must be included in the computer models of real-life situations and discards the inessential ones

#20
Front (Question)

What is pattern recognition sometimes called?

Back (Answer)

Generalisation

#21
Front (Question)

Pattern recognition is used to identify where constructs such as what can be used?

Back (Answer)

selection and iteration

#22
Front (Question)

Pattern recognition is used to identify where sections of code can be ______ (functions and procedures)

Back (Answer)

reused

#23
Front (Question)

Pattern recognition is used to recognise a problem that is similar to…

Back (Answer)

one you have solved in the past

#24
Front (Question)

Pattern recognition is used to reuse code, functions and procedures from past programs to…

Back (Answer)

carry out similar functions in a new program