analysis of algorithm (lecture 2)

analysis of algorithm (lecture 2)

12th Grade

10 Qs

quiz-placeholder

Similar activities

Algorithm Complexity Quiz

Algorithm Complexity Quiz

9th - 12th Grade

10 Qs

Sorting  Algorithms &  Efficiency

Sorting Algorithms & Efficiency

11th - 12th Grade

15 Qs

Algorithm and Problem Solving Quiz

Algorithm and Problem Solving Quiz

12th Grade

10 Qs

Heap

Heap

12th Grade

10 Qs

SLR5 | Algorithms

SLR5 | Algorithms

12th Grade

15 Qs

Program Efficiency 2

Program Efficiency 2

12th Grade

15 Qs

Quiz on Data Structure

Quiz on Data Structure

12th Grade

10 Qs

Understanding Algorithm Complexity and Big O Notation (video)

Understanding Algorithm Complexity and Big O Notation (video)

12th Grade

11 Qs

analysis of algorithm (lecture 2)

analysis of algorithm (lecture 2)

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Afzan Adam

Used 58+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What two pieces of information allow you to analyse an algorithm?
Time Complexity
Space Complexity
Size Complexity
Complex Complexity
Simplicity Complex

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you measure of the time complexity?
Big-O notation
Big-N notation
N notation
Small-O notation
Small-N notation

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a linear time complexity mean?

The amount of time taken to complete an algorithm is dependent constantly from the n.

The time taken to complete an algorithm will increase at a smaller rate as the n.

The amount of time taken to complete an algorithm is proportional to the number of items inputted to the power of n

The amount of time taken to complete an algorithm is proportional to 2 to the power of the number of items inputted.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a constant time complexity mean?
The amount of time taken to complete an algorithm is independent to the number of inputted elements
The amount of time taken to complete an algorithm is independent from the number of elements inputted.
The amount of time taken to complete an algorithm is proportional to the number of items inputted to the power of n
The amount of time taken to complete an algorithm is proportional to 2 to the power of the number of items inputted.
The time taken to complete an algorithm will increase at a smaller rate as the number of elements inputted.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is space complexity?
The space complexity is the amount of storage space an algorithm takes up
How many times a certain number (base) is multiplied together to reach another number.
An algorithm is a series of steps that complete a task

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Big-O notation of a linear search algorithm?
O(n)
O(log(n))
O(n2)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What order of complexity does this graph represent?

Exponential

Polynomial

Linear

Logarithmic

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?