Back to marketplace

1.1 Algorithms

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

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

Card preview (9)

#1
Front (Question)

What are Algorithms?

Back (Answer)

• Algorithms are a sequence of instructions that perform a certain task. • They are completely independent and can be implemented

#2
Front (Question)

What is Pseudocode?

Back (Answer)

Programmable code written in standard english for easier understanding.

#3
Front (Question)

What is a Flowchart?

Back (Answer)

Flowcharts also represent data flow, but the shapes have different meanings. The oval → Start/End The Square → Process The Rhombus → Decision The Parallelogram → Inputs/Outputs The Lined Rectangle → Subroutines

#4
Front (Question)

What is a Linear Search?

Back (Answer)

• A linear search checks each element until a match is found, or until the whole list has been checked. • Uses Brute Force.

#5
Front (Question)

What is Binary Search?

Back (Answer)

• Binary search is done by dividing a list into two and eliminating the half not containing the targeted element. • The list must also be ordered. • Works by simplification.

#6
Front (Question)

How is a Binary Search conducted?

Back (Answer)

• Find the Midpoint • Eliminate Unneeded half • Repeat Until found

#7
Front (Question)

What is a Bubble Sort?

Back (Answer)

• A bubble sort orders an unordered list • It does so by making comparisons to adjacent elements and swapping them, largest value to the back • Each comparison to the full data set is a pass

#8
Front (Question)

What is a Merge Sort?

Back (Answer)

• Divide and Conquer and Merge: • The list is first divided into two, keeps splitting until there is one element left • Sorts the list recursilvely • Merge the lists from the single elements

#9
Front (Question)

When should Linear/Binary Search be used?

Back (Answer)

• Linear Search should be used in unordered lists, whilst binary searches require ordered lists.