DAA CSE 356 QUIZ 1

DAA CSE 356 QUIZ 1

University

20 Qs

quiz-placeholder

Similar activities

Logging and Kernel Management Quiz

Logging and Kernel Management Quiz

University

20 Qs

GGT

GGT

1st Grade - Professional Development

15 Qs

BIOESTADISTICA Y DEMOGRAFIA

BIOESTADISTICA Y DEMOGRAFIA

University

20 Qs

LO5 - IMRC 182

LO5 - IMRC 182

University

15 Qs

Data Structure & Algorithm

Data Structure & Algorithm

University

15 Qs

Algoritma Sorting

Algoritma Sorting

University

20 Qs

Unit 2 Assessment Review Part 1

Unit 2 Assessment Review Part 1

KG - University

20 Qs

Conversa de nível

Conversa de nível

University

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?