
CL/ARVR

Quiz
•
Computers
•
University
•
Hard
Trilochan Sahoo
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
DS - Linked List - S1

Quiz
•
University
15 questions
Knowledge Knockout[Quiz Round](2nd-4th years)

Quiz
•
University
16 questions
Linked List and Arrays in JAVA

Quiz
•
University
10 questions
Kuis 3 - ASD (B)

Quiz
•
University
17 questions
Managing Program Complexity Quiz

Quiz
•
12th Grade - University
10 questions
introduction to daa

Quiz
•
University
10 questions
Chapter 1 - Introducing Today's Technologies

Quiz
•
University
10 questions
AdvancedProgramming_intro

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