Which of the following properties is associated with a queue?

Queues and Circular Queues

Quiz
•
Computers
•
University
•
Hard
RAVIKANTH K
Used 11+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
First In Last Out
First In First Out
Last In First Out
Last In Last Out
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In a circular queue, how do you increment the rear end of the queue?
rear++
(rear+1) % SIZE
(rear % SIZE)+1
d) rear–-
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the time complexity of enqueue operation?
O(logn)
O(nlogn)
O(n)
O(1)
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A circular queue is implemented using an array of size 10.
The array index starts with 0, front is 6, and rear is 9. The insertion of next element takes place at the array index.
0
7
9
10
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which is not the type of queue?
Single ended queue
Ordinary queue
Circular queue
Priority queue
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A queue(ARR) of size 5:
enqueue(1)
enqueue(2)
enqueue(3)
enqueue(4)
enqueue(5)
dequeue()
Now how many more elements can be enqueued ARR?
1
2
0
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Circular Queue (ARR) of size 3:
enqueue(1)
enqueue(2)
enqueue(3)
dequeue()
enqueue(4)
Index of Element 4?
0
1
2
3
Create a free account and access millions of resources
Similar Resources on Quizizz
9 questions
DSA Day 3

Quiz
•
University
10 questions
Sumatif Akhir Informatika

Quiz
•
1st Grade - University
9 questions
Stacks/Queues

Quiz
•
University
15 questions
REMEDI UH INFORMATIKA BAB 2 "BERPIKIR KOMPUTASIONAL"

Quiz
•
10th Grade - University
15 questions
DATA STRUCTURES QUIZ

Quiz
•
University
10 questions
Quiz 1 - AK2 Section

Quiz
•
University
10 questions
UNIT-2 QUEUE

Quiz
•
University
12 questions
Data Structures

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