Queues  Quiz

Queues Quiz

University

15 Qs

quiz-placeholder

Similar activities

Chapter 75 ASE Questions

Chapter 75 ASE Questions

11th Grade - University

15 Qs

Sawing, Circular saws and methods

Sawing, Circular saws and methods

University

12 Qs

Linked List and Heap (Data structure)

Linked List and Heap (Data structure)

University

20 Qs

Data Structures Training Quiz2

Data Structures Training Quiz2

University

15 Qs

QUEUE - REVIEW UNDERSTANDING

QUEUE - REVIEW UNDERSTANDING

University

10 Qs

DS Lab Quiz-2 EEE-A

DS Lab Quiz-2 EEE-A

University

10 Qs

Yuvo – Transmission Critical setting

Yuvo – Transmission Critical setting

University

10 Qs

Sorting Quiz

Sorting Quiz

University - Professional Development

15 Qs

Queues  Quiz

Queues Quiz

Assessment

Quiz

Education

University

Hard

Created by

Padmavati Pise

Used 21+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?