
QUIZ 01 -DAA
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Medium
arr revathi
Used 3+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Analyze the time complexity derivation of the divide and conquer maximum subarray algorithm. Which recurrence relation represents the time complexity correctly?
T(n)=T(n−1)+O(1)
T(n)=2T(n/2)+O(n)
T(n)=T(n/2)+O(log n)
T(n)=nT(n−1)+O(n2))
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Huffman coding produces a prefix-free code that minimizes the weighted path length. Which data structure most efficiently supports the construction of this code?
Linked List
Priority Queue (Min-Heap)
Stack
Binary Search Tree
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following properties is not required for an algorithm to be solvable optimally using greedy techniques?
Greedy-choice property
Optimal substructure
Overlapping subproblems
Problem decomposition into independent subproblems
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
In analyzing the time complexity of the maximum subarray problem solved by divide and conquer, the merging step takes O(n)O(n)O(n) time. What does this step accomplish?
Combining the solutions of left and right subarrays, including subarrays crossing the midpoint
Sorting the array to reduce the problem size
Removing duplicate subarrays
Calculating the prefix sums for dynamic programming
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Suppose you design a new algorithm for a problem and derive its time complexity as O(nlogn). Which of the following algorithmic techniques is most likely used?
Dynamic programming with memoization
Greedy algorithm with sorting
Divide and conquer with recursive calls
Backtracking with pruning
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
The Subset Sum problem solved using backtracking is classified as:
Polynomial time problem
NP-complete problem
Greedy solvable problem
Linear time problem
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
In the Branch and Bound method using FIFO-BB for the job selection problem, the primary difference from LIFO-BB is:
FIFO-BB explores nodes in a breadth-first manner; LIFO-BB in a depth-first manner
FIFO-BB requires more memory than LIFO-BB always
LIFO-BB guarantees optimal solution, FIFO-BB does not
Both methods explore nodes in the same order
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
18 questions
Quiz 02-Finals-IT 222-FIAS
Quiz
•
University
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
14 questions
Network Protocols Quiz
Quiz
•
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
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Information Technology (IT)
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University
