
Recurrence Relations and Algorithms Quiz
Authored by Yasmin Kandil
Information Technology (IT)
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Solve the recurrence relation T(n)=2T(n/4)+ n^2 using the Master's Theorem. What is the time complexity of T(n)?
O(n^2 log n)
O(n^2)
O(n log n)
O(n^3)
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Solve the recurrence relation T(n)=3T(n/3)+n using the Master's Theorem. What is the time complexity of T(n)?
O(n log n)
O(n^2)
O(n log^2 n)
O(n)
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Solve the recurrence relation T(n)=8T(n/4)+n^2 using the Master's Theorem. What is the time complexity of T(n)?
O(n^2 log n)
O(n^3)
O(n^2)
O(n log n)
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Solve the recurrence relation T(n)=6T(n/2)+ n^3 using the Master's Theorem. What is the time complexity of T(n)?
O(n^3)
O(n^4)
O(n^3 log n)
O(n^2 log^2 n)
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
You are given coins of denominations {1,3,4}. What is the minimum number of coins required to make a value of 6 using dynamic programming?
2
3
4
6
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In the Traveling Salesman Problem using dynamic programming, what is the state definition for DP(S,i) where S is a set of visited cities, and i is the current city?
The shortest path from the start to city i.
The shortest path that visits all cities in S and ends at city i.
The longest path that visits all cities in S and ends at city i.
The shortest path from the city i to the end.
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
You are given coins of denominations {1,2,5}. What is the minimum number of coins needed to make a total of 7?
2
3
4
5
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
20 questions
AISB223 Chapter 12: Confidentiality and Privacy Controls
Quiz
•
University
15 questions
Understanding Loops in C Programming
Quiz
•
1st Grade - University
20 questions
SYBAF Internal Practice Test
Quiz
•
University
10 questions
CONCEPTOS ARDUINO
Quiz
•
1st Grade - University
18 questions
2.2 Data Transmission
Quiz
•
University
14 questions
CHAPTER 6: SYSTEM ANALYSIS AND DESIGN
Quiz
•
University
10 questions
NoSQL Concepts
Quiz
•
University
18 questions
Quiz 02-Finals-IT 222-FIAS
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
20 questions
Endocrine System
Quiz
•
University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
30 questions
W25: PSYCH 250 - Exam 2 Practice
Quiz
•
University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
38 questions
Unit 8 Review - Absolutism & Revolution
Quiz
•
10th Grade - University