
Quiz1-DSA-FCPC
Quiz
•
Others
•
University
•
Practice Problem
•
Medium
ALVIN CERTEZA
Used 2+ times
FREE Resource
Enhance your content in a minute
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Big O notation is used to describe:
The exact runtime of an algorithm
The growth rate of an algorithm as input size increases
The memory size of a program
The programming language speed
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following represents the fastest time complexity?
O(1)
O(log n)
O(n)
O(n²)
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If an algorithm takes the same amount of time regardless of input size, its time complexity is:
O(n)
O(n²)
O(1)
O(log n)
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is better in terms of efficiency for large input sizes?
O(n²)
O(log n)
O(2ⁿ)
O(n³)
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The time complexity of inserting an element at the end of an array is usually:
O(1)
O(n)
O(n²)
O(log n)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The Big O of binary search is:
O(1)
O(n)
O(log n)
O(n²)
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The nested loop below has what time complexity? for i in range(n): for j in range(n): print(i, j)
O(n)
O(n²)
O(log n)
O(n log n)
Create a free account and access millions of resources
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
50 questions
Английский 51-100
Quiz
•
University
50 questions
CORTO NUMERO 1, HISTORIA DE LA MICROBIOLOGIA.
Quiz
•
University
50 questions
GROUP 5
Quiz
•
University
52 questions
Cardiovascular System Quiz
Quiz
•
University
50 questions
English Language Quiz
Quiz
•
University
54 questions
English Language Quiz
Quiz
•
University
50 questions
CICT Quiz Bee: Battle of the Brains
Quiz
•
University
50 questions
đề 1 tiếng anh task 1
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Others
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
