
PrelimExam-DSA-FCPC
Quiz
•
Others
•
University
•
Hard
ALVIN CERTEZA
Used 3+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the time complexity of accessing an element in a Python list by index?
O(1)
O(n)
O(log n)
O(n²)
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the average time complexity of searching for an element in an unsorted linked list?
O(1)
O(n)
O(log n)
O(n log n)
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The time complexity of appending an element to a Python list (average case) is:
O(1)
O(n)
O(log n)
O(n²)
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which operation on a singly linked list requires O(n) time?
Traversal
Access by index
Searching
All of the above
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the best case time complexity of inserting at the head of a linked list?
O(n)
O(log n)
O(1)
O(n²)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the space complexity of storing a string of length n in Python?
O(1)
O(n)
O(n²)
O(log n)
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which operation in Python strings has O(n) complexity?
Indexing
Concatenation
Slicing
Both b and c
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
27 questions
A7 - STACK
Quiz
•
University
27 questions
A2.1 (W1.1)
Quiz
•
University
30 questions
Principles_Of_Advertising
Quiz
•
University
30 questions
Web Development Quiz
Quiz
•
University
33 questions
A1.2 (W10.2)
Quiz
•
University
32 questions
Structure of English - Long Quiz | Virtual
Quiz
•
University
25 questions
El Salon De Clase
Quiz
•
6th Grade - University
25 questions
Prashanotri
Quiz
•
University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Others
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
7 questions
Central Idea of Informational Text
Interactive video
•
4th Grade - University
7 questions
Review for You: Using Commas
Interactive video
•
4th Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
Safari Scholar: Searching for Subject-Verb Agreement
Interactive video
•
4th Grade - University
