
CL/ARVR
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Trilochan Sahoo
Used 2+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the Master Theorem provide a solution for?
a) Space complexity of algorithms
b) Time complexity of divide-and-conquer algorithms
c) Sorting algorithms
d) Dynamic programming algorithms
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which scenario would make the Master Theorem inapplicable?
a) When the subproblems cannot be solved independently
b) When the size of the subproblems decreases by a constant factor at each step
c) When the problem size decreases exponentially with each recursive call
d) When the time complexity cannot be expressed as a recurrence relation
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the time complexity of the merge sort algorithm?
a) O(n)
b) O(n log n)
c) O(n^2)
d) O(1)
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the space complexity of the binary search algorithm?
a) O(1)
b) O(log n)
c) O(n)
d) O(n^2)
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the space complexity of Bubble Sort?
a) O(1)
b) O(log n)
c) O(n)
d) O(n^2)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following scenarios is BFS well-suited for?
a) Finding the maximum flow in a network
b) Topological sorting of a graph
c) Finding the shortest path between two vertices in an unweighted graph
d) Solving the traveling salesman problem
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following data structures is used to keep track of visited vertices in BFS to avoid revisiting them?
a) Stack
b) Queue
c) Hash Table or Set
d) Binary Search Tree
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
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - University
10 questions
Semiconductores
Quiz
•
University
10 questions
UX Design
Quiz
•
University
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
12 questions
Quizz Internet
Quiz
•
KG - Professional Dev...
15 questions
tik kelas 7
Quiz
•
1st Grade - University
20 questions
PARC Linux Basic Part 2
Quiz
•
University
20 questions
1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni
Quiz
•
University - Professi...
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
