
CC104 - Final Exam
Authored by Jerome Escultura
Other
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
40 questions
UTS Statistika Sosial
Quiz
•
University
48 questions
Principles of Health Science Spring Final
Quiz
•
9th Grade - University
46 questions
Marvel
Quiz
•
KG - Professional Dev...
40 questions
ETC 605
Quiz
•
University
40 questions
Final Exam 1st Semester
Quiz
•
8th Grade - University
40 questions
1ER PARCIAL S2
Quiz
•
University
48 questions
Final SOL Review 2016
Quiz
•
8th Grade - University
45 questions
Cultura general
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
20 questions
Endocrine System
Quiz
•
University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
30 questions
W25: PSYCH 250 - Exam 2 Practice
Quiz
•
University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
38 questions
Unit 8 Review - Absolutism & Revolution
Quiz
•
10th Grade - University