
Quiz on Data Structures

Quiz
•
Computers
•
University
•
Medium
SONALI SURYAWANSHI
Used 3+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a type of linked list
Circular
doubly
Singly
priority
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statement is true for traversing a linked list
while(Start!=NULL)
while(ptr!=NULL)
While(Ptr-->data !=NULL)
while(ptr==NULL)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is true for inserting node in the beginning
new_node = start
start = new_node
start==ptr
start == new_node
4.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
IF Node has to be inserted at the end of the list then which of the following code is correct?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The overflow condition in Circular Queue is
if front == 0 && rear == -1
if front == max-1 && rear == max -1
if front == 0 && rear == max-1
if front == -1 && rear == max
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In double ended queue, input restricted queue means
insertion cant be done on the queue
insertion can be done but deletion can not be done on the queue
insertion is done from both the ends but deletion from only one end
deletion can be done form both ends but insertion from only one end
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not among a linear data structure
stack
array
queue
tree
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which of the following is not a dynamic data structure
array
linked list
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the condition to preform enqueue operation in queue
if(front == -1) then enqueue ( )
if rear == 0 then enqueue( )
if rear !== MAX-1 the enqueue( )
if front != -1 and rear !== MAX the enqueue( )
Similar Resources on Wayground
5 questions
DSA Quiz 24.7.2024

Quiz
•
University
10 questions
Pretest QUEUE

Quiz
•
University
14 questions
A-Level Computer Science Data Structures Quiz

Quiz
•
12th Grade - University
5 questions
UNIT-2 QUEUE PROBLEM

Quiz
•
University
10 questions
Stack & Queue

Quiz
•
University
10 questions
Quiz on Queue Concepts 1

Quiz
•
University
9 questions
Stacks/Queues

Quiz
•
University
14 questions
Queue

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade