
Data Structures and Algorithms
Authored by mukilan selvaraj
Computers
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure follows the LIFO (Last In, First Out) principle?
Queue
Stack
Linked List
Tree
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of accessing an element in a Python list by its index?
O(1)
O(n)
O(log n)
O(n²)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a mutable data structure in Python?
Tuple
String
List
Frozenset
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to initialize a dictionary in Python?
dict = []
dict = {}
dict = ()
dict = set()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which algorithm uses a divide-and-conquer approach?
Bubble Sort
Merge Sort
Linear Search
Insertion Sort
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst-case time complexity of the Bubble Sort algorithm?
O(n)
O(n log n)
O(n²)
O(log n)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is used for implementing a FIFO (First In, First Out) principle?
Stack
Queue
Array
Graph
Access all questions and much more by creating a free account
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
Arsitektur Komputer
Quiz
•
University
25 questions
CCC19 - Chapter 6 - Internet and WWW
Quiz
•
University
25 questions
The SemiColons Quiz
Quiz
•
University
25 questions
STIN (EM24) - Sistemas de Información (T1)
Quiz
•
University - Professi...
25 questions
Chapter 10 Info Systems & System Dev
Quiz
•
University
25 questions
Script_programming_test
Quiz
•
University
30 questions
Komputer Jaringan Dasar
Quiz
•
1st Grade - Professio...
30 questions
WINDOWS (Examen CENTU)
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade