
Data Structure

Quiz
•
Computers
•
Professional Development
•
Medium
RAVINDRA AHER
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a characteristic of a linked list?
Fixed size
Elements stored in contiguous memory
Dynamic size
All elements must be of the same type
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of inserting a node at the beginning of a singly linked list?
O(1)
O(n)
O(log n)
O(n^2)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following operations is not efficient in a singly linked list?
Insertion
Deletion
Searching for an element
Traversal
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a doubly linked list, each node contains:
One pointer
Two pointers
Three pointers
No pointers
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary principle behind stack data structures?
First In First Out (FIFO)
Last In First Out (LIFO)
Random Access
Circular Access
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operation is not performed in a stack?
Push
Pop
Peek
Enqueue
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The time complexity for pushing and popping an element in a stack is:
O(1)
O(n)
O(log n)
O(n^2)
Create a free account and access millions of resources
Similar Resources on Wayground
6 questions
Java: знакомство и как пользоваться базовыми АПИ - семинар 4

Quiz
•
Professional Development
14 questions
AI-900 MÓDULO 04 pt-br

Quiz
•
Professional Development
11 questions
MB-910_Módulo 2

Quiz
•
Professional Development
11 questions
BASES DE DATOS FUTBOLISTAS

Quiz
•
Professional Development
10 questions
UF2-CSS

Quiz
•
Professional Development
15 questions
React - Exercício Final

Quiz
•
Professional Development
10 questions
MCA 2024

Quiz
•
Professional Development
10 questions
Întrebări despre Colecții în Java

Quiz
•
Professional Development
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade