Back to marketplace

2.1 Algorithims

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

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

Card preview (18)

#1
Front (Question)

What is an algorithm?

Back (Answer)

• Set of instructions

#2
Front (Question)

What is decomposition?

Back (Answer)

• Breaking up data • Smaller more manageable parts

#3
Front (Question)

What is abstraction?

Back (Answer)

• Ignoring parts of data • Faster outcome

#4
Front (Question)

What does a rounded rectangle represent in flowcharts?

Back (Answer)

• Start / Stop

#5
Front (Question)

What does a rectangle represent in flowcharts?

Back (Answer)

• Process

#6
Front (Question)

What does a diamond represent in flowcharts?

Back (Answer)

• Decision

#7
Front (Question)

What does a diamond represent in flowcharts?

Back (Answer)

• Decision

#8
Front (Question)

What does a parallelogram represent in flowcharts?

Back (Answer)

• Input / Output

#9
Front (Question)

What does a rectangle with two lines inside represent?

Back (Answer)

• Subroutine

#10
Front (Question)

What is a variable?

Back (Answer)

• A location in memory • Can be changed while the program is running

#11
Front (Question)

What are the steps for a bubble sort?

Back (Answer)

• Start at the beginning of the values • Compare the first and second values : if not in order, swap • Continue through the list • Repeat through the list until in order • Do one last pass to ensure order ** One comparison is one pass

#12
Front (Question)

What are the steps for merge sort?

Back (Answer)

• Split all elements into individual lists • Compare the first elements of the lists • Place the smallest in a new list • Continue to compare first elements of the lists • Repeat until individual lists have merged

#13
Front (Question)

What are the steps for an insertion sort?

Back (Answer)

• The item is taken and placed in the correct position • Continue through • Repeat until sorted

#14
Front (Question)

When is a bubble sort the better choice?

Back (Answer)

• Shorter list • Mostly in order

#15
Front (Question)

When is a insertion sort the better choice?

Back (Answer)

• Mostly in order

#16
Front (Question)

When is a merge sort the better choice?

Back (Answer)

• Longer list • Completely randomised • Reversed data set

#17
Front (Question)

What is a linear search?

Back (Answer)

• Go through every value one by one

#18
Front (Question)

What is a binary search?

Back (Answer)

• Isolate the right or left of the list depending on the value through the middle • Continue to narrow down