Back to marketplace

2.1 Algorithms

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

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

Card preview (15)

#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.