Queues

Queues

11th Grade - Professional Development

15 Qs

quiz-placeholder

Similar activities

Kuis Pelatihan API Kutim By GIZ

Kuis Pelatihan API Kutim By GIZ

University - Professional Development

20 Qs

CMD - Windows

CMD - Windows

12th Grade

17 Qs

Android

Android

University

10 Qs

Fashion Merchandising 1.01

Fashion Merchandising 1.01

9th - 12th Grade

10 Qs

Mengenal Internet dan Jaringan Local

Mengenal Internet dan Jaringan Local

12th Grade

15 Qs

Programming Vocabulary

Programming Vocabulary

10th - 12th Grade

17 Qs

Python Quiz 1.4

Python Quiz 1.4

University

12 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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?