
Design n Analysis of Algorithm

Quiz
•
Computers
•
University
•
Hard
FnF Go
Used 3+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following case does not exist in complexity theory?
Average Case
Null Case
Best Case
Worst Case
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The complexity of linear search algorithm is
O(n)
O(log n)
O(n2)
O(n log n)
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The complexity of Binary search algorithm is _________
O(n)
O(log)
O(n2)
O(n log n)
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The complexity of merge sort algorithm is _________
O(n)
O(log n)
O(n2)
O(n log n)
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The worst case complexity for insertion sort is _________
O(n)
O(log n)
O(n2)
O(n log n)
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which is used to measure the Time complexity of an algorithm Big O notation?
describes limiting behaviour of the function
characterises a function based on growth of function
upper bound on growth rate of the function
all of the mentioned
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If for an algorithm time complexity is given by O(1) then the complexity of it is ____________
constant
polynomial
exponential
none of the mentioned
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Data Structures - Training: Quiz 1

Quiz
•
University
20 questions
Data Structures

Quiz
•
University
10 questions
Analysis of Algorithms

Quiz
•
University
10 questions
DAA_C_MCQ_2

Quiz
•
University
10 questions
Algorithm analysis: divide & conquer theory

Quiz
•
University
13 questions
DS UNIT-2 TEST-2

Quiz
•
University
10 questions
DS UNIT-2 TEST-1

Quiz
•
University
15 questions
Fundamentals of Algorithms - Unit 1 - Test 1

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade