
PrelimExam-DSA-FCPC
Quiz
•
Others
•
University
•
Practice Problem
•
Hard
ALVIN CERTEZA
Used 4+ 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
Already have an account?
Similar Resources on Wayground
34 questions
PTSK BAB1&2
Quiz
•
University
30 questions
Tipe Konsumen dan Psikotes X BDP
Quiz
•
University
25 questions
Parashnotri
Quiz
•
University
25 questions
historia clínica
Quiz
•
University
25 questions
5.1 3d part
Quiz
•
University
25 questions
conocimiento generales
Quiz
•
University
26 questions
Cuestionario sobre Bolivia 3
Quiz
•
University
29 questions
Stray Kids Test
Quiz
•
University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Others
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
34 questions
Unit 5 Review - The Middle Ages in Europe-B
Quiz
•
9th Grade - University
26 questions
Day2 classwork: Permutation and combination
Quiz
•
2nd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
