Data Structure Quiz
Quiz
•
Computers
•
University - Professional Development
•
Hard
SAI PRIYA
Used 26+ times
FREE Resource
Enhance your content in a minute
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
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
10 questions
computer Networks
Quiz
•
University
10 questions
USE OF ICT IN THE LEARNING PROCESS
Quiz
•
Professional Development
10 questions
Scratch
Quiz
•
KG - Professional Dev...
9 questions
Structured/Traditional SDM
Quiz
•
University
11 questions
Tutorium 1 - Prog2
Quiz
•
University
10 questions
QUIZ GAME
Quiz
•
University
15 questions
Dictionary Python
Quiz
•
University
13 questions
What is ML
Quiz
•
Professional Development
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
