Back to marketplace

2.3.1 Analysis, Design & Comparison of Algorithms

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

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

Card preview (24)

#1
Front (Question)

State two pieces of information used to analyse an algorithm.

Back (Answer)

Time complexity Space complexity

#2
Front (Question)

What is meant by time complexity?

Back (Answer)

How much time an algorithm requires to solve a particular problem

#3
Front (Question)

How is time complexity measured?

Back (Answer)

Using big-o notation

#4
Front (Question)

What does big-o notation show?

Back (Answer)

The time taken relative to the number of data elements given as an input

#5
Front (Question)

How can big-o notation be used?

Back (Answer)

To predict the amount of time taken to solve an algorithm given the number of elements stored

#6
Front (Question)

What is the name given to O(1)?

Back (Answer)

Constant time complexity

#7
Front (Question)

What is the name given to O(n)?

Back (Answer)

Linear time complexity

#8
Front (Question)

What is the name given to O(n²)?

Back (Answer)

Polynomial time complexity

#9
Front (Question)

What is the name given to O(nⁿ)?

Back (Answer)

Polynomial time complexity

#10
Front (Question)

What is the name given to O(2ⁿ)?

Back (Answer)

Exponential time complexity

#11
Front (Question)

What is the name given to O(log n)?

Back (Answer)

Logarithmic time complexity

#12
Front (Question)

What is the name given to O(n log n)?

Back (Answer)

Linearithmic time complexity

#13
Front (Question)

Describe what is meant by O(1).

Back (Answer)

The amount of time taken to complete an algorithm is independent from the number of elements inputted

#14
Front (Question)

Describe what is meant by O(n).

Back (Answer)

The amount of time taken to complete an algorithm is directly proportional to the number of elements inputted

#15
Front (Question)

Describe what is meant by O(n²).

Back (Answer)

The amount of time taken to complete an algorithm is directly proportional to the square of the elements inputted

#16
Front (Question)

Describe what is meant by O(nⁿ).

Back (Answer)

The amount of time taken to complete an algorithm is directly proportional to the elements inputted to the power of n

#17
Front (Question)

Describe what is meant by O(2ⁿ).

Back (Answer)

The amount of time taken to complete an algorithm will double with every additional item

#18
Front (Question)

Describe what is meant by O(log n).

Back (Answer)

The amount of time taken to complete an algorithm will half with every additional item

#19
Front (Question)

What is a logarithm?

Back (Answer)

An operation that determines how many times a certain (base) number is multiplied by itself to reach another number

#20
Front (Question)

What is meant by space complexity?

Back (Answer)

The amount of storage an algorithm takes

#21
Front (Question)

How can space complexity be reduced?

Back (Answer)

By performing all of the changes on the original pieces of data

#22
Front (Question)

How can time complexity be reduced?

Back (Answer)

By reducing the number of embedded loops where possible

#23
Front (Question)

What time complexity does a linear search algorithm have?

Back (Answer)

O(n)

#24
Front (Question)

What time complexity does a binary search algorithm have?

Back (Answer)

O(log n)