CC104 - FT Quiz #1

CC104 - FT Quiz #1

University

15 Qs

quiz-placeholder

Similar activities

Python Review Module 16 - Searching Sorting Algorithm

Python Review Module 16 - Searching Sorting Algorithm

University

17 Qs

Midterm 2 Quiz

Midterm 2 Quiz

University

16 Qs

Sorting Quiz

Sorting Quiz

University - Professional Development

15 Qs

CodeCadette

CodeCadette

University

15 Qs

Driver Ed midterm 2

Driver Ed midterm 2

10th Grade - University

18 Qs

أسئلة عن هياكل البيانات

أسئلة عن هياكل البيانات

University

12 Qs

Coding Challenge Round 1

Coding Challenge Round 1

University

10 Qs

Merge Sort

Merge Sort

University

10 Qs

CC104 - FT Quiz #1

CC104 - FT Quiz #1

Assessment

Quiz

Other

University

Medium

Created by

Jerome Escultura

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the key strategy used by both Merge Sort and Quick Sort?

Divide and conquer

Dynamic programming

Greedy method

Backtracking

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Merge Sort, what is the primary purpose of dividing the list into two halves?

To simplify the sorting process by working with smaller parts

To find the middle element of the list

To compare all elements directly with each other

To remove duplicate values

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes the time complexity of Merge Sort?

O(n log n)

O(n^2)

O(log n)

O(n)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting technique requires a “pivot” element to split the list?

Quick Sort

Merge Sort

Binary Search

Bubble Sort

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does Binary Search work on a sorted list?

By repeatedly dividing the search interval in half

By scanning each element sequentially

By calculating the sum of all elements

By randomly selecting elements to compare

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the best-case time complexity of Quick Sort?

O(n log n)

O(n^2)

O(log n)

O(1)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is Binary Search not suitable for unsorted lists?

Because it relies on order to reduce search intervals

Because it uses too much memory

Because it sorts elements before searching

Because it’s slower than linear search

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?