
DAA-QUIZ
Authored by Pratiba D.
Computers
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are given a knapsack that can carry a maximum weight of 60. There are 4 items with weights {20, 30, 40, 70} and values {70, 80, 90, 200}. What is the maximum value of the items you can carry using the knapsack?
160
200
170
90
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following methods can be used to solve the Knapsack problem?
Brute force algorithm
Recursion
Dynamic programming
Brute force, Recursion and Dynamic Programming
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following sorting algorithms is the fastest?
Merge sort
Quick sort
Insertion sort
Shell sort
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst case time complexity of a quick sort algorithm?
O(N)
O(N log N)
O(N2)
O(log N)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the average case time complexity of merge sort?
O(n log n)
O(n2)
O(n2 log n)
O(n log n2)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the auxiliary space complexity of merge sort?
O(1)
O(log n)
O(n)
O(n log n)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of the best case scenario for quick sort?
O(N)
O(N log N)
O(N^2)
O(log N)
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
16 questions
E-Commerce
Quiz
•
University - Professi...
13 questions
ISC2 - Chapter 1 - Module 3 - G2
Quiz
•
Professional Development
14 questions
Sains Komputer Tingkatan 4 - 2.2.3 Menghasilkan gambar rajah
Quiz
•
1st Grade - Professio...
10 questions
QR Code
Quiz
•
Professional Development
10 questions
USE OF ICT IN THE LEARNING PROCESS
Quiz
•
Professional Development
10 questions
python quiz
Quiz
•
6th Grade - Professio...
19 questions
SC-900_Módulo 4
Quiz
•
Professional Development
10 questions
Scratch
Quiz
•
KG - Professional Dev...
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 Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development