
DAA Quiz 1
Authored by Dr. 2330
Education
University
Used 3+ 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
30 sec • 1 pt
Identify the time complexity that indicates the longest running time required by an
algorithm for any given input of size n, and thus guarantees that the algorithm will finish in the indicated period of time.
Worst case
Best case
Average Case
Constant Time
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The θ-notation will be expressed as
c2*g(n) <= t(n) <= c1*g(n) for all n >= n0
T(n) <= c*g(n) for all n >= n0
T(n) >= c*g(n) for all n >=n0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the time complexity of algorithm A is O(n^2) and that of algorithm B is O(n), then the algorithm _____ is the slowest among A and B.
B
A
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given items as {value,weight} pairs {{40,20},{30,10},{20,5}}.
The capacity of knapsack=20.
Find the maximum value output assuming items to be divisible.
80
100
60
90
Asymptotic Tight Bound
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find out the optimal solution that maximizes the profit for the job sequencing problem
a,e
c,a,e
b,a
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
While analyzing the non-recursive algorithm for matrix multiplication, it is necessary to investigate the best, worst and average case separately.
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For all optimization problems, the greedy method will not always provide the best potential solution.
True
False
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
Curriculum Development
Quiz
•
University
10 questions
Units & Dimensions
Quiz
•
University
11 questions
[QTEDU] HSK 4 - Buổi 6: 经理对我印象不错 (2)
Quiz
•
University
17 questions
I love my job!
Quiz
•
6th Grade - Professio...
11 questions
Research Objectives & Research Background
Quiz
•
University
20 questions
QUIZ 4 : TOPIC 8 [PROCESS COSTING]
Quiz
•
1st Grade - University
15 questions
PRICING AND ITS OBJECTIVES
Quiz
•
University
20 questions
Digital signal processing_1
Quiz
•
University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Education
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University