Queues  Quiz

Queues Quiz

University

15 Qs

quiz-placeholder

Similar activities

unit-2 zener diode

unit-2 zener diode

University

11 Qs

Syarat Teknis dan Laik Jalan

Syarat Teknis dan Laik Jalan

University

12 Qs

Chapter 3: Concrete

Chapter 3: Concrete

University

20 Qs

HKMNOP C2

HKMNOP C2

University - Professional Development

20 Qs

Chart Patterns and Price Actions

Chart Patterns and Price Actions

University

15 Qs

DSA & Code Snippets

DSA & Code Snippets

University

15 Qs

Digital Electronics

Digital Electronics

University

15 Qs

DSA Quiz 2 Set 1

DSA Quiz 2 Set 1

University

10 Qs

Queues  Quiz

Queues Quiz

Assessment

Quiz

Education

University

Practice Problem

Hard

Created by

Padmavati Pise

Used 21+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is an application of Queue Data Structure?

When a resource is shared among multiple consumers.

When data is transferred asynchronously (data not necessarily received at same rate as sent) between two processes

Load Balancing

All of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The data structure required for Breadth First Traversal on a graph is?

Stack

Queue

Array

Tree

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a Queue, if a user tries to remove an element from empty Queue it is called _________.

Underflow

Empty collection

Overflow

Garbage Collection

4.

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

BCDA

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In case of insertion into a linked queue, a node borrowed from the __________ list is inserted in the queue.

AVAIL

FRONT

REAR

None of the mentioned

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the MAX_SIZE is the size of the array used in the implementation of circular queue. How is rear manipulated while inserting an element in the queue?

rear=(rear%1)+MAX_SIZE

rear=rear%(MAX_SIZE+1)

rear=(rear+1)%MAX_SIZE

rear=rear+(1%MAX_SIZE)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not the type of queue?

Ordinary queue

Single ended queue

Circular queue

Priority queue

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Education