Which data structure is used to implement a queue?

ADS Quiz 5

Quiz
•
Computers
•
University
•
Easy
Naman Chauhan
Used 1+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Array
Linked List
Both A and B
Tree
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A queue follows which principle?
LIFO
FILO
FIFO
LILO
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the basic operations of a queue?
insert, delete
enqueue, dequeue
push, pop
add, remove
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the condition for queue overflow in an array implementation?
rear < max
rear = max - 1
front > rear
front = rear
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which pointer in a queue indicates the position from where element is deleted?
rear
front
mid
temp
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In array implementation, initially front and rear are set to:
0
-1
1
null
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operation will be used to add an element to the queue?
enqueue
pop
insert
addNode
Create a free account and access millions of resources
Similar Resources on Quizizz
51 questions
Data Structures and Algorithm - Final Examinations Quiz

Quiz
•
University
45 questions
CPSC 131 midterm review

Quiz
•
University
50 questions
Quiz

Quiz
•
University
50 questions
Module 9

Quiz
•
University
53 questions
UTS Struktur Data

Quiz
•
University
55 questions
Amazon AWS CLF-C01 Chapter 5 - 6

Quiz
•
University
50 questions
CHƯƠNG 3: ĐIỀU PHỐI TIẾN TRÌNH (PROCESS SCHEDULING)

Quiz
•
University
53 questions
Modules 1-2

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade