Search Header Logo

Algorithm Analysis Quiz

Authored by Pookie Bear

Computers

12th Grade

Used 1+ times

Algorithm Analysis Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?