
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
Quiz on Operating System Basics
Quiz
ā¢
University
25 questions
PYTHON PROGRAMMING STRING Q6
Quiz
ā¢
University
25 questions
CERI-ITLA
Quiz
ā¢
10th Grade - Professi...
25 questions
EXAMEN DE FCYD 1ER PARCIAL PRIM 2024
Quiz
ā¢
University
25 questions
Basic Components and Computer Evolution
Quiz
ā¢
University
25 questions
Data Base Security & Pricvacy MCQs Quiz
Quiz
ā¢
University
25 questions
S2 Python Turtle Quiz
Quiz
ā¢
9th Grade - University
26 questions
Fundamentos de HTML y sus etiquetas šš”
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