CSCI exam II Revised

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/32

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:05 AM on 4/8/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

33 Terms

1
New cards

log(n) =0(n)

T

2
New cards

n=0(log n)

F

3
New cards

log²(n) =0(n)

T

4
New cards

n = O(log2n)

F

5
New cards

log(n) = Ω (n)

F

6
New cards

n = Ω (log n)

T

7
New cards

5n3+ 7n + 13 = O(n5)

T

8
New cards

5n3 + 7n + 13 = Ω (n³)

F

9
New cards

5n3 + 7n + 13 = 0(n)

T

10
New cards

log(n!) = θ(n log(n))

T

11
New cards

n = O(log n)

F

12
New cards

2n= Ω (n!)

F

13
New cards

What is the big-Oh run time of Merge Sort on n items?

O (n log n)

14
New cards

What is the big-Oh run time of Heap Sort on n items?

O (n log n)

15
New cards

What is the worst-case big-Oh run time of Quick Sort of n items?

O (n^2)

16
New cards

What is the worst-case big-Oh run time of Selection Sort on n items?

O (n^2)

17
New cards

What is the big-Omega lower bound for comparison based sorting ofn items?

Omega (n log n)

18
New cards

What is the worst case big-Oh run time to insert 1 item into an AVL-tree that contains n
Items?

O(log n)

19
New cards

What is the worst-case big-Oh run time to insert 1 item into a normal binary search tree
that contains n items?

O(n)

20
New cards

What is the worst case big-Oh run time to insert 1 item into a min-heap?

O(log n)

21
New cards

What is the worst case big-Oh run time to remove the minimum value from a min-heap?

O(n)

22
New cards

What is the worst case big-Oh run time of Binary Search on an n item sorted list?

O(log n)

23
New cards

What is the worst case big-Oh run time to insert 1 item into a min-heap?

O(log n)

24
New cards

What is the worst case big-Oh run time to remove the minimum value from a min-heap?

O(log n)

25
New cards

What is the run time of breadth-first search (in terms of V| and |E|)?

O([V+ E)

26
New cards

What is the run time of Dijkstra's algorithm (in terms of [V| and [E) with a minheap
Implementation?

O (([V| + |E|) log |V)

27
New cards

What is the run time of Bellman-Ford algorithm (in terms of [V| and|E|)?

O([V||E)

28
New cards

17n³ + 4n + 5

O(n5)

29
New cards

17n + 4n + 5

θ (n³)

30
New cards

17n³ + 4n + 5

Ω (n)

31
New cards

log(n)

0 (n1/2)

32
New cards

n1/2

Ω (log²n)

33
New cards