
DAA Quiz 1

Quiz
•
Education
•
University
•
Easy
Dr. 2330
Used 3+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Vocab unit 10 level D

Quiz
•
KG - University
10 questions
Asking for directions

Quiz
•
University
16 questions
Estadística inferencial

Quiz
•
University
12 questions
Computational Thinking for Problem Solving

Quiz
•
University
15 questions
Alphabet sound

Quiz
•
University
15 questions
Strategic Communication Quiz

Quiz
•
University
15 questions
CCDSALG Practice Questions

Quiz
•
University
16 questions
DS Training QUIZ 1

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Education
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University