DAA CSE 356 QUIZ 1

DAA CSE 356 QUIZ 1

University

20 Qs

quiz-placeholder

Similar activities

Lógica Sábado 2

Lógica Sábado 2

University

15 Qs

uff - fundamentos de geofísica - sismologia

uff - fundamentos de geofísica - sismologia

University

15 Qs

Midterm 2 Quiz

Midterm 2 Quiz

University

16 Qs

Data Structure & Algorithm

Data Structure & Algorithm

University

15 Qs

Digestive System Anatomy

Digestive System Anatomy

12th Grade - University

20 Qs

Tech quiz-july

Tech quiz-july

University

20 Qs

Algoritma Sorting

Algoritma Sorting

University

20 Qs

TPS UTBK SBMPTN (Pola Barisan Bilangan)

TPS UTBK SBMPTN (Pola Barisan Bilangan)

12th Grade - Professional Development

15 Qs

DAA CSE 356 QUIZ 1

DAA CSE 356 QUIZ 1

Assessment

Quiz

Other

University

Hard

Created by

PREETI PANDEY

Used 4+ times

FREE Resource

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)

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?