UNIT-2 QUEUE

Quiz
•
Computers
•
University
•
Medium
JASPIN K
Used 28+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the elements “A”, “B”, “C” and “D” are placed in a queue and are deleted one at a time, in what order will they be removed?
ABCD
DCBA
DCAB
ABDC
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In linked list implementation of a queue, where does a new element be inserted?
At the FONT of link list
At the centre position in the link list
At the REAR of the link list
None of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In linked list implementation of a queue, the important condition for a queue to be empty is?
FRONT is null
REAR is null
LINK is empty
None of the mentioned
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a circular queue, how do you increment the rear end of the queue?
rear++
(rear+1) % Number of Item
(rear % Number of Item)+1
rear–
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the term for inserting into a full queue known as?
overflow
underflow
null pointer exception
all of the mentioned
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the reason for using a "circular queue" instead of a regular one?
running time of enqueue() is improved
reuse empty spaces
you can traverse all the elements more efficiently
none of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Queue Insertion & Deletion take place at ________________.
same end
first end
different end
last end
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
A-Level Computer Science Data Structures Quiz

Quiz
•
12th Grade - University
14 questions
Data Structure

Quiz
•
University
15 questions
Stacks and Queues Quiz

Quiz
•
University
15 questions
ROTC Make-up Quiz

Quiz
•
University
9 questions
DSA Day 3

Quiz
•
University
15 questions
Stack

Quiz
•
University
9 questions
Data Structures and Algorithm

Quiz
•
University
15 questions
Stack??

Quiz
•
University
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