
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
Office Word
Quiz
•
University
25 questions
5 sabit ve değişken
Quiz
•
5th Grade - University
25 questions
Information and Technology Finals
Quiz
•
University
25 questions
MYSQL QUIZ 1
Quiz
•
University
25 questions
Gestión TI
Quiz
•
University
25 questions
Chủ đề: Ms powerpoint
Quiz
•
2nd Grade - Professio...
25 questions
Java Review
Quiz
•
9th Grade - University
31 questions
java collections
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