
Data Structures Quiz

Quiz
•
Computers
•
University
•
Hard
Shubhangi Divekar
Used 1+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a key disadvantage of using an array?
Fast access
Fixed size
Random access
Sequential access
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure follows LastInFirstOut (LIFO)?
Stack
Queue
Array
Linked List
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which follows FirstInFirstOut (FIFO)?
Stack
Queue
Linked List
Tree
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of accessing an element in an array?
O(n)
O(1)
O(log n)
O(n log n)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a singly linked list, insertion at the head takes how much time?
O(1)
O(n)
O(log n)
O(n²)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Finding an element in a linked list requires what time complexity?
O(1)
O(n)
O(log n)
O(n²)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure allows insertion/deletion at both ends?
Stack
Queue
Deque
Array
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is a static memory allocation structure?
Linked list
Stack
Queue
Array
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is a dynamic data structure?
Array
Linked list
Tree
Both B and C
Similar Resources on Wayground
10 questions
PHP

Quiz
•
University
10 questions
Questionário sobre Javascript

Quiz
•
University
10 questions
Quiz 1 - AK2 Section

Quiz
•
University
10 questions
0xDebug - Python

Quiz
•
University
10 questions
Java_Collection_I

Quiz
•
University
7 questions
Complexity Analysis Station [2]

Quiz
•
University
7 questions
Big O Notation

Quiz
•
University
10 questions
Time Complexity

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University