What is the time complexity of the quicksort algorithm in the average case?

Theory quiz

Quiz
•
Education
•
Professional Development
•
Medium
KOTESWARAMMA 50048
Used 7+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A. O(n)
B. O(n log n)
C. O(n^2)
D. O(log n)
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
merge sort is a ......................
searching technique
in-place sorting technique
not in place sorting technique
stable sorting method
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
For merging two sorted lists of sizes m and n into a sorted list of size m+n, we require comparisons of
O(m)
O(n)
O(m+n)
O(logm + logn)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To main measures of the efficiency of an algorithm are?
space and data
data & time
time & capacity
time &space
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following is a Divide and Conquer algorithm?
bubble sort
merge sort
quick sort
insertion sort
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the technique called in which it does not require extra memory for carrying out the sorting procedure?
in-place
stable
in-partition
unstable
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is incorrect? Algorithms can be represented:
as programs
as pseudo-codes
as syntax
as flow chart
Create a free account and access millions of resources
Similar Resources on Quizizz
23 questions
Korean Alphabet (Hangul)

Quiz
•
7th Grade - Professio...
20 questions
Primary Tooth Practice

Quiz
•
Professional Development
28 questions
Técnica Cirurgica 1

Quiz
•
University - Professi...
20 questions
Interpretação de Textos - Simulado

Quiz
•
KG - Professional Dev...
20 questions
Supporting Education - Cognitive Constructivism

Quiz
•
Professional Development
25 questions
KIỂM TRA GIỮA KỲ - PP TỔ CHỨC HOẠT ĐỘNG VUI CHƠI CHO TRẺ MN

Quiz
•
Professional Development
25 questions
COCAT - DAA

Quiz
•
University - Professi...
20 questions
Artificial Intelligence

Quiz
•
8th Grade - Professio...
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade