QUEUE

QUEUE

University

17 Qs

quiz-placeholder

Similar activities

DBC CHAPTER 3 - REVISION

DBC CHAPTER 3 - REVISION

University

15 Qs

Java Control and Loop -2

Java Control and Loop -2

University

20 Qs

Five Nights At Freddy's: Security Breach Quiz

Five Nights At Freddy's: Security Breach Quiz

KG - Professional Development

13 Qs

Intro to Data Mining

Intro to Data Mining

University

15 Qs

Firewall and Network Security

Firewall and Network Security

University

15 Qs

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

20 Qs

2.4 - 2.6

2.4 - 2.6

University

15 Qs

L1 - Computer Networks

L1 - Computer Networks

University

13 Qs

QUEUE

QUEUE

Assessment

Quiz

Computers

University

Medium

Created by

hayfa Haiza

Used 301+ times

FREE Resource

17 questions

Show all answers

1.

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

ABDC

2.

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

3.

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

4.

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

5.

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–

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the term for inserting into a full queue known as?

overflow

underflow

null pointer exception

all of the mentioned

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Let the following circular queue can accommodate maximum six elements with the following data


front = 2 rear = 4

queue = _______; L, M, N, ___, ___


What will happen after ADD O operation takes place?

front = 2 rear = 5

queue = ______; L, M, N, O, ___

front = 3 rear = 5

queue = L, M, N, O, ___

front = 3 rear = 4

queue = ______; L, M, N, O, ___

front = 2 rear = 4

queue = L, M, N, O, ___

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?