Complexity Analysis Station [4]

Quiz
•
Computers
•
University
•
Hard

Dareen Hussein
Used 14+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is asymptotic complexity in the following function?
O(n^2)
O(n!)
O(n log n)
O(2^n)
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
You are looking for a specific value in a binary tree, but the tree is not a binary search tree. What is the time complexity of this?
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the asymptotic complexity of the following function?
O(n^2)
O(logn)
O(sqrt(n))
O(n)
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is asymptotic complexity in the following function?
**Note that the function add_to_tree() has complexity O(logn), where n is the number of nodes in the tree.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is asymptotic complexity in the following function? Where n is the number of nodes.
O(n^2)
O(nlogn)
O(n^2logn)
O(n)
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the Big-O Notation of picking a sequence of 10 balls from a bag of 10 different coloured balls (the ball is not put back into the bag after being picked)?
Similar Resources on Wayground
7 questions
Data Structure 1

Quiz
•
University
10 questions
Quiz on Complexity Measures

Quiz
•
University
10 questions
Analysis of Algorithms Quiz

Quiz
•
University
10 questions
WIA2005 Lecture 1 Asymptotic Notation

Quiz
•
University
10 questions
Complexity Quizz

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

Quiz
•
University
9 questions
Asymptomatic Efficiency

Quiz
•
University
8 questions
TEAM 2

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
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University