Search Header Logo

MS101 - Assignment Finals - (Reviewer)

Authored by Nina Perena

Instructional Technology

University

10 Questions

Used 3+ times

MS101 - Assignment Finals - (Reviewer)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does time complexity measure?

The amount of memory used by an algorithm

The total number of lines in the code

How execution time increases with input size

The accuracy of an algorithm's output

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a time complexity class that grows fastest with input size?

Linear (O(n))

Logarithmic (O(log n))

Constant (O(1))

Exponential (O(2ⁿ))

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main focus of space complexity?

The maximum time an algorithm can run

The number of recursive calls

The memory used by an algorithm

The size of the output produced

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In asymptotic notation, what does Big O represent?

Exact running time

Lower bound

Upper bound

Average case

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of time complexity describes the typical performance of an algorithm over all possible inputs?

Best case

Average case

Worst case

Standard case

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does Theta (Θ) notation represent?

Worst-case performance

Average-case time

Tight bound on performance

The slowest algorithm possible

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which time complexity class indicates performance that remains constant regardless of input size?

O(n²)

O(1)

O(log n)

O(n)

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?