Search Header Logo

Algorithm Analysis, AVL Trees, and B-Trees Quiz

Authored by AmareswaraKumar M.V

others

Used 4+ times

Algorithm Analysis, AVL Trees, and B-Trees Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

What is the worst-case time complexity of linear search?

O(1)
O(log n)
O(n)
O(n log n)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the balance factor of a node in an AVL tree?

Height(left) - Height(right)
Height(node)
Depth of node

none of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Maximum number of children for a B-Tree node of order m is

m-1
m
m+1
2m

4.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Which of the following is not an asymptotic notation?

Big-O
Theta
Alpha
Omega

5.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

The best-case complexity of linear search is:

O(1)
O(n)
O(log n)
O(n log n)

6.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

What is space complexity?

Amount of time an algorithm takes
Amount of memory an algorithm uses
Complexity of nested loops
Recursion depth

7.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Which notation denotes the lower bound?

O
θ
Ω
o

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?