
CC104 - Final Exam

Quiz
•
Other
•
University
•
Medium
Jerome Escultura
Used 2+ times
FREE Resource
43 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the primary purpose of the Merge Sort algorithm?
To find the minimum element in an array
To divide an array into smaller sub-arrays and then merge them
To sort an array using comparisons
To create a binary search tree
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the best-case time complexity of Merge Sort?
O(n)
O(n log n)
O(n^2)
O(log n)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about Quick Sort?
It always performs better than Merge Sort
It is a divide-and-conquer algorithm
It requires more memory than Merge Sort
It cannot be implemented recursively
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The time complexity of Quick Sort in the worst case is:
O(n log n)
O(n)
O(n^2)
O(log n)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the basic idea behind the Binary Search algorithm?
Check all elements one by one
Divide the array into two halves and check the middle element
Sort the array and then search for an element
Search in the entire array sequentially
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the time complexity of Binary Search?
O(n)
O(n log n)
O(log n)
O(n^2)
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the space complexity of Merge Sort?
O(1)
O(log n)
O(n)
O(n^2)
Create a free account and access millions of resources
Similar Resources on Wayground
40 questions
CONCENTRACION SIMULACRO 4.2

Quiz
•
University
43 questions
QB | Basic Financial Accounting 1

Quiz
•
University
40 questions
Economics: Chapters 4 & 5 Review

Quiz
•
KG - University
40 questions
Codestorm - Kriya 2025

Quiz
•
University
47 questions
untitled

Quiz
•
7th Grade - University
43 questions
Microsoft Excel Quiz

Quiz
•
University
43 questions
Test_RESIS_PL6_1

Quiz
•
University
40 questions
Python Programming Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University