
DAA FINALS
Quiz
•
Education
•
12th Grade
•
Hard
Kim Bautista
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the primary characteristic of a greedy algorithm?
It always finds the globally optimal solution
It uses backtracking to explore all possible solutions.
It makes locally optimal choices at each step.
It randomly selects choices without considering future consequences.
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What does the Coin Change Problem involve?
Finding the maximum number of coins needed to make change
Selecting coins to maximize profit
Finding the minimum number of coins needed to make a given amount of change
Sorting coins in descending order based on their denominations
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
In job sequencing with deadlines, what is the goal of the greedy method?
Minimize the number of jobs scheduled
Maximize the total profit by respecting job deadlines
Maximize the number of jobs completed after the deadline
Randomly schedule jobs without considering deadlines
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which algorithm is used to find the minimum spanning tree of a graph by selecting edges based on their weights?
Dijkstra's Algorithm
Prim's Algorithm
Kruskal's Algorithm
Bellman-Ford Algorithm
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which algorithm is used to find the shortest path from a single source vertex to all other vertices in a weighted graph with non-negative edge weights?
Dijkstra's Algorithm
Bellman-Ford Algorithm
Floyd's Algorithm
Prim's Algorithm
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
In Huffman coding, which elements are assigned shorter codes?
Least frequent elements
Elements with the longest codes
Most frequent elements
Randomly selected elements
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the primary data structure used in implementing Heaps?
Linked List
Stack
Priority Queue
Hash Table
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
How Well Do You Know Malaysia?
Quiz
•
6th - 12th Grade
20 questions
Atletik
Quiz
•
10th - 12th Grade
20 questions
Transitions and grammar
Quiz
•
9th Grade - University
20 questions
Demand and Supply
Quiz
•
10th Grade - University
20 questions
A New Kind of Café
Quiz
•
9th - 12th Grade
20 questions
SENI BUDAYA
Quiz
•
12th Grade
15 questions
Layla tul Qadr
Quiz
•
1st - 12th Grade
20 questions
REVISION 3 : TOPIC 3, 4, 5 & 7
Quiz
•
1st Grade - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade