
Quiz on Algorithm Analysis

Quiz
•
English
•
University
•
Medium
Dr.P.Shanmuga Dept
Used 4+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Mastering Scientific Notation: Word Problem Challenges

Quiz
•
8th Grade - University
10 questions
Social Media Streaming Quiz

Quiz
•
University
10 questions
Mastering Scientific Notation: Add & Convert Like a Pro!

Quiz
•
6th Grade - University
10 questions
Adding and Converting Scientific Notation in Real Life

Quiz
•
7th Grade - University
15 questions
JavaScript

Quiz
•
University
15 questions
IMPORTANCE OF EFFECTIVE COMMUNICATION AT SEA

Quiz
•
University
15 questions
introduction to C++ programming PQ1

Quiz
•
University
10 questions
Parts of the Letter and Letter Format)

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade