Queues

Queues

11th Grade - Professional Development

15 Qs

quiz-placeholder

Similar activities

Data Structures

Data Structures

12th Grade

15 Qs

Data Structure

Data Structure

University

20 Qs

Data Structures

Data Structures

University

12 Qs

DATA STRUCTURES

DATA STRUCTURES

12th Grade

10 Qs

Stack & Queue

Stack & Queue

University

16 Qs

Queue

Queue

University

20 Qs

DS-U2-QUIZ2

DS-U2-QUIZ2

University

12 Qs

UNIT-2 QUEUE

UNIT-2 QUEUE

University

10 Qs

Queues

Queues

Assessment

Quiz

Computers

11th Grade - Professional Development

Medium

Created by

POOJA SAPRA

Used 70+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the insertion and deletion happens from both the ends then the queue is called a______Queue

a) Deque

b) Header

c) Queue

d) Circular Queue

2.

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?

a) ABCD

b) DCBA

c) DCAB

d) ABDC

3.

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

4.

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

5.

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

6.

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–

7.

MULTIPLE CHOICE QUESTION

2 mins • 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

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?