
Analysis of Algorithm Chapter 5
Authored by วัชรศักดิ์ ศิริเสรีวรรณ
Computers
University
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which ones are the recurrence relation derived from Divide-and-Conquer Algorithm
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
T(n) = 6T(n/3) + n2 ∊ ϴ(f(n)) , f(n) = ?
n2
log36
n1+log32
n2logn
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the best case of Quick sort
well-ordered input
reverse-ordered input
choosing the pivot at the middle location
the chosen pivot is the median
choosing the pivot randomly
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The constant time of Quick sort is on which process of Quick sort ?
Pivot selection
Find the position of pivot
Bipartition of array
Sorting the array
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which ones are true about analysis of time complexity of Quick sort in average case ?
Given n elements of array, the probability of the pivot being to each position is 1/n
Given the pivot is at the kth location, the time of that case is T(n - k) + T(k - 1) + n
6.
MULTIPLE SELECT QUESTION
1 min • 2 pts
Given the time of the algorithm is aT(n/b) + nd , what are the approach we can use to reduce the time of this algorithm ?
reduce a when a < bd
reduce nd when a > bd
reduce a when a > bd
reduce nd when a < bd
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
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
10 questions
Introduction to AI - Healthcare & Business
Quiz
•
University - Professi...
10 questions
Lourdes Amaranta Ayala Gracia
Quiz
•
8th Grade - University
10 questions
BIOMETRICS-UNIT-I
Quiz
•
University
15 questions
AWS ACF Módulo 2 - Economia e Faturamento na Nuvem
Quiz
•
University
10 questions
System Integration and Arch Exam 2
Quiz
•
University
15 questions
INTRODUTION TO COMPUTER
Quiz
•
University
10 questions
CHAPTER 1: COMPUTER SECURITY REVIEW
Quiz
•
University
13 questions
Chap 1: What is a program made of?
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade