Data Structure Quiz
Quiz
•
Computers
•
University - Professional Development
•
Hard

SAI PRIYA
Used 26+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given pointer to a node X in a singly linked list. Only one pointer is given, pointer to head node is not given, can we delete the node X from given linked list?
Possible if X is not last node. Use following two steps (a) Copy the data of next of X to X. (b) Delete next of X.
Possible if size of linked list is even.
Possible if size of linked list is odd
Possible if X is not first node. Use following two steps (a) Copy the data of next of X to X. (b) Delete next of X
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Queue is ____
fifo
Lifi
Both a and b
None of these
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tree is ____data structure
Linear
Non linear
Array
List
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following points is/are true about Linked List data structure when it is compared with array
Arrays have better cache locality that can make them better in terms of performance.
It is easy to insert and delete elements in Linked List
Random access is not allowed in a typical implementation of Linked Lists
All of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are given pointers to first and last nodes of a singly linked list, which of the following operations are dependent on the length of the linked list?
Delete the first element
Insert a new element as a first element
Delete the last element of the list
Add a new element at the end of the list
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the stack, If user try to remove element from the empty stack then it called as ___________.
Overflow of Stack
Empty Collection
Underflow of Stack
Garbage Collection
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In order to keep track of current topmost element of the stack we need to maintain one variable.
Yes
No
Both Yes and No
None of the answer
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Introduction to programming
Quiz
•
Professional Development
10 questions
Abhyudaya coding class - Grade 7
Quiz
•
6th Grade - University
10 questions
Algorithm analysis: divide & conquer theory
Quiz
•
University
10 questions
Information systems concepts
Quiz
•
University
10 questions
Bab 2 | Latihan Pengukuhan II
Quiz
•
12th Grade - University
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
11 questions
Workshop_1
Quiz
•
University
10 questions
Web-II-Loop and Function
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
10 questions
How to Email your Teacher
Quiz
•
Professional Development
22 questions
FYS 2024 Midterm Review
Quiz
•
University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
12 questions
1 Times Tables
Quiz
•
KG - University
20 questions
Disney Trivia
Quiz
•
University