QUEUE

Quiz
•
Computers
•
University
•
Medium
hayfa Haiza
Used 301+ times
FREE Resource
17 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 head of link list
At the centre position in the link list
At the tail of the link list
None of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In linked list implementation of a queue, from where is the item deleted?
At the head of link list
At the centre position in the link list
At the tail of the link list
None of the mentioned
4.
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
5.
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–
6.
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
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Let the following circular queue can accommodate maximum six elements with the following data
front = 2 rear = 4
queue = _______; L, M, N, ___, ___
What will happen after ADD O operation takes place?
front = 2 rear = 5
queue = ______; L, M, N, O, ___
front = 3 rear = 5
queue = L, M, N, O, ___
front = 3 rear = 4
queue = ______; L, M, N, O, ___
front = 2 rear = 4
queue = L, M, N, O, ___
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Queues

Quiz
•
11th Grade - Professi...
15 questions
Data Structures Activity - 1

Quiz
•
University
15 questions
Queue - Data Structures

Quiz
•
University
20 questions
UTS Algoritma dan Struktur Data

Quiz
•
University
20 questions
Data Structures and Algorithms Quiz

Quiz
•
University
15 questions
DSA AI- B

Quiz
•
University
20 questions
Assignment II Stack,Queue, Searching, Hashing

Quiz
•
University
14 questions
Queue

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University