
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
25 questions
OnRamps Chemistry 301 Unit 0 Part 1 - Exam 1
Quiz
•
University
30 questions
EXAMEN FINAL
Quiz
•
University
34 questions
Edafología - Clasificación de Suelos (Parte 1)
Quiz
•
University
25 questions
Soil Properties MCQ Quiz
Quiz
•
University
25 questions
Examen #1 teórico 2024-01
Quiz
•
University
25 questions
カタカナ ア カ サ タ ハ クイズ
Quiz
•
University
25 questions
patologia 3
Quiz
•
University
25 questions
Porfirinas y pigmentos biliares
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
