
ALDA - Week 03 Complexity
Authored by Team Informatica
Computers
University
Used 618+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What kind of complexities are we interested in?
Time
Space
Running time
Cognitive
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is measured with time complexity?
The time from start to end
Number of elementary operations
Only loops
CPU cycles
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Algorithm A has a complexity O(n log(n))
Algorithm B has complexity O(n)
Does this mean that algorithm B is always faster than A?
Yes
No
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
We have the following list of numbers: 10 4 1 23 2 23 5 9 7
We want to find the number 9, which algorithm should we use?
Linear search: O(n)
Binary search: (logn)
Linear search
Binary search
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following answers has the time complexities in the correct order from faster to slowest?
O(1), O(logn), O(n), O(nlogn), O(n^2), O(n!), O(2^n)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the complexity of this algorithm?
O(n)
O(n^2)
O(n*logn)
O(logn)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the complexity of this algorithm?
O(n)
O(2n)
O(2^n)
O(nlogn)
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
15 questions
Pengolahan Citra IK-1 10.45
Quiz
•
University
10 questions
Quiz 1
Quiz
•
University
10 questions
Excel - Funciones de Lógica y Búsqueda
Quiz
•
University
10 questions
Función CONTAR
Quiz
•
KG - Professional Dev...
10 questions
Unguided transmission media
Quiz
•
University
12 questions
Python Quiz 1.4
Quiz
•
University
10 questions
ML Course Activity-II
Quiz
•
University
10 questions
NEO LMS Training
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