2.3.1(f) Big O Do Now

2.3.1(f) Big O Do Now

12th Grade

5 Qs

quiz-placeholder

Similar activities

Merge sort | Starter Quiz | Oak National Academy

Merge sort | Starter Quiz | Oak National Academy

9th Grade - University

9 Qs

PYTHON 1

PYTHON 1

11th - 12th Grade

10 Qs

C++ Searches and Sorts

C++ Searches and Sorts

7th - 12th Grade

9 Qs

Asesmen Awal Pembelajaran Algortima Pengurutan (Sorting)

Asesmen Awal Pembelajaran Algortima Pengurutan (Sorting)

12th Grade

10 Qs

CS Python Fundamentals 8.8 Lesson Quiz

CS Python Fundamentals 8.8 Lesson Quiz

9th - 12th Grade

10 Qs

Sorting Algorithm

Sorting Algorithm

9th - 12th Grade

10 Qs

Sorting Algorithm

Sorting Algorithm

9th - 12th Grade

9 Qs

Algorithm Complexity Quiz

Algorithm Complexity Quiz

9th - 12th Grade

10 Qs

2.3.1(f) Big O Do Now

2.3.1(f) Big O Do Now

Assessment

Quiz

Computers

12th Grade

Easy

Created by

RHSC Computing

Used 6+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Emily is learning about sorting algorithms in her computer science class. She wonders if Bubble Sort is an example of a divide and conquer sorting algorithm?

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Isabelle is sorting her collection of books using Bubble Sort. What is the worst-case time complexity of this sorting algorithm?

O(n log n)

O(n)

O(n^2)

O(1)

Answer explanation

Bubble Sort has a worst-case time complexity of O(n^2) due to its nested loops that compare and swap elements.

3.

MATCH QUESTION

1 min • 3 pts

Match the following

Quick Sort

Picks a pivot and partitions the array around it

Merge Sort

Divides the array into two halves and merges them after sorting

Bubble Sort

Works well with almost sorted datasets

Insertion Sort

Worst-case time complexity is O(n^2)

4.

LABELLING QUESTION

1 min • 4 pts

Big O Notation

e
f
g
h

Quick Sort

Bubble Sort

A* Algorithm

Binary Search

Linear Search

Merge Sort

Insertion Sort

Dijkstra’s Shortest Path Algorithm

5.

MATCH QUESTION

1 min • 5 pts

Match the following

Dijkstra’s Shortest Path Algorithm

Requires the array to be sorted before searching

A* Algorithm

Time complexity is O(n) for average and worst cases

Binary Search

Uses a heuristic to guide its search

Linear Search

Uses a priority queue to find the shortest path