Algorithm Analysis Quiz

Algorithm Analysis Quiz

12th Grade

10 Qs

quiz-placeholder

Similar activities

44. Algorithms - Bubble Sort Algorithm Quiz

44. Algorithms - Bubble Sort Algorithm Quiz

9th - 12th Grade

11 Qs

Understanding Bubble Sort Algorithm

Understanding Bubble Sort Algorithm

12th Grade

10 Qs

KS3 - Selection, Iteration or Sequence

KS3 - Selection, Iteration or Sequence

KG - 12th Grade

9 Qs

Scheduling Algorithms Quiz

Scheduling Algorithms Quiz

12th Grade

10 Qs

SLR5 | Algorithms

SLR5 | Algorithms

12th Grade

15 Qs

Types of algorithm

Types of algorithm

3rd Grade - University

10 Qs

Mobile CSP Unit 5 Vocab

Mobile CSP Unit 5 Vocab

10th - 12th Grade

15 Qs

Code.org Unit 6 Discoveries

Code.org Unit 6 Discoveries

9th - 12th Grade

15 Qs

Algorithm Analysis Quiz

Algorithm Analysis Quiz

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Pookie Bear

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of the algorithm for finding the sum of all elements in an array?

Order of N + 2

Order of N^3

Order of N^2

Order of N

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the space complexity of the algorithm for finding the sum of all elements in an array?

Order of N^3

Order of N

Order of N^2

Order of N + 3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the degree of the polynomial representing the time complexity of the algorithm for finding the sum of two matrices?

N

N^2

N^3

N + 2

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the space complexity of the algorithm for finding the sum of two matrices?

Order of N^2

Order of N^3

Order of N + 3

Order of N

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the degree of the polynomial representing the time complexity of the algorithm for matrix multiplication?

N^3

N^2

N + 2

N

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the space complexity of the algorithm for matrix multiplication?

Order of N^2

Order of N

Order of N^3

Order of N^2 + 4

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times is the statement inside the loop executed in the algorithm for finding the sum of all elements in an array?

8

7

6

5

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?