Search Header Logo

DAA CSE 356 QUIZ 1

Authored by PREETI PANDEY

Other

University

Used 4+ times

DAA CSE 356 QUIZ 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. Which of the following is NOT a valid asymptotic notation?

O(n)

Ω(n)

Θ(n)

Σ(n)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. If a function f(n) is O(g(n)), which of the following is true?

f(n) grows faster than g(n)

  1. f(n) grows slower than g(n)

f(n) grows at most as fast as g(n)

g(n) grows slower than f(n)

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. Which asymptotic notation provides both an upper and a lower bound?

O(n)

Ω(n)

Θ(n)

o(n)

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. What does O(1) represent in algorithm analysis?

Constant time complexity

Linear time complexity

Logarithmic time complexity

Exponential time complexity

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. If f(n) = n² + 3n + 4, what is the Big-O notation?

  1. O(n)

O(n²)

O(log n)

O(n³)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. If f(n) is Θ(g(n)), which of the following statements is true?

f(n) = o(g(n))

f(n) = O(g(n))

  1. f(n) = Ω(g(n))

Both b and c

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. Which notation describes an algorithm that has a lower bound but no upper bound?

O(n)

Ω(n)

Θ(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?