
Quiz on Algorithm Analysis
Authored by Dr.P.Shanmuga Dept
English
University
Used 4+ 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 CHOICE QUESTION
30 sec • 1 pt
Which notation is used to describe the upper bound of an algorithm's growth rate?
Theta Notation
Big-Oh Notation
Big-Omega Notation
Little-Oh Notation
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does 'Worst case complexity' refer to?
The minimum time an algorithm can take to complete
The maximum time an algorithm can take to complete
The best possible scenario for an algorithm
The average performance of an algorithm
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a type of asymptotic notation?
Linear Notation
Little-Omega Notation
Big-Oh Notation
Tilde Notation
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many passes does an insertion sort algorithm consist of?
a) N
b) N-1
c) N+1
d) N2
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the average case running time of an insertion sort algorithm?
O(N)
O(NlogN)
O(logN)
O(N2)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the running time of an insertion sort algorithm if the input is pre-sorted?
O(N2)
O(N log N)
O(N)
O(M log N)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For the following question, how will the array elements look like after second pass?
34, 8, 64, 51, 32, 21
8, 21, 32, 34, 51, 64
8, 32, 34, 51, 64, 21
8, 34, 51, 64, 32, 21
8, 34, 64, 51, 32, 21
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 Concepts of AI
Quiz
•
University
10 questions
5 Taiwan Snacks That are TOO EXPENSIVE in N. AMERICA!
Quiz
•
University
15 questions
OW1_Review 1
Quiz
•
1st Grade - University
10 questions
Introduction to Critical thinking
Quiz
•
University
12 questions
Simple Present and Present Continuous
Quiz
•
9th Grade - University
15 questions
IPA - Session 6 - Review /b/ /p/ ; /s/ /z/ /ʃ/
Quiz
•
KG - Professional Dev...
13 questions
P1U6 R1 Vocab
Quiz
•
University
15 questions
第四版 新视野1 unit3
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade