
ALDA - Week 03

Quiz
•
Computers
•
University
•
Medium

Team Informatica
Used 464+ times
FREE Resource
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)
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Analysis of Algorithms

Quiz
•
University
10 questions
Quick sort algorithm

Quiz
•
University
15 questions
Luyện tập

Quiz
•
KG - University
10 questions
PAA - Análise Assintótica

Quiz
•
University
15 questions
Fundamentals of Algorithms - Unit 1 - Test 1

Quiz
•
University
13 questions
DS UNIT-2 TEST-2

Quiz
•
University
10 questions
DAA Quiz 1

Quiz
•
University
7 questions
Final Practice

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

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

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University