
Algorithm Design and Analysis Quiz

Quiz
•
Information Technology (IT)
•
University
•
Medium
Kituku Ben
Used 2+ times
FREE Resource
45 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Scenario: You are asked to create a sorting algorithm for a system that handles millions of transactions per second. Which design paradigm is most appropriate for such scenarios?
Divide and Conquer
Brute Force
Randomized Algorithms
Greedy Algorithms
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Scenario: A company needs an algorithm to verify user credentials against a database with billions of entries. Which factor is most critical to evaluate the algorithm?
Accuracy
Space complexity
Time complexity
Input constraints
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Scenario: An algorithm consistently outputs the wrong results for certain inputs. What property of the algorithm is being violated?
Efficiency
Correctness
Simplicity
Stability
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Scenario: Your algorithm processes T(n)=4T(n/2)+n2. Using Master’s Theorem, identify the time complexity.
O(n2logn)
O(n3)
O(n2)
O(logn)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Scenario: A function f(n)=5n3+3n2. As nn grows large, what is the asymptotic upper bound?
O(n2)
O(n3)
O(5n3)
O(n4)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Scenario: An algorithm's time complexity is O(log n). What scenario best fits its application?
Searching for an element in a sorted array
Sorting an array
Finding the shortest path in a graph
Traversing a linked list
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Scenario: A recursive algorithm divides a problem into 3 subproblems, each half the size of the original. The recurrence is T(n)=3T(n/2)+n. What is the time complexity?
O(n2)
O(nlogn)
O(nlog23)
O(n)
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
Quiz Microsoft PowerPoint

Quiz
•
10th Grade - University
40 questions
IT3182 Cryptology and Network Security Midterm Exam

Quiz
•
University
40 questions
Infinity Code Nexus

Quiz
•
University
40 questions
Final Test preparation and recap

Quiz
•
University
40 questions
Kuis_03_ Artificial Intelligence_Bab 5-7

Quiz
•
University
40 questions
UTS Kecerdasan Buatan

Quiz
•
University
40 questions
Encryption/Decryption

Quiz
•
University
40 questions
AI-basic 2

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade