Queue ADT

Queue ADT

Assessment

Quiz

Computers

5th Grade

Hard

Created by

Maithili Kothandan

Used 2+ times

FREE Resource

Student preview

quiz-placeholder

7 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

ABDA

ABDC

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Let size of queue is 4. The following operations are performed in order.

enqueue(10)

enqueue(20)

enqueue(30)

enqueue(40)

what will be the result after executing enqueue(50)?

Queue Empty

Queue Full

None

5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A normal queue, if implemented using an array of size MAX_SIZE, gets full when

Rear = MAX_SIZE – 1

Front = (rear + 1)mod MAX_SIZE

Front = rear + 1

Rear = front

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a Queue head pointer is incremented by one

Each enqueue

Each Dequeue

Both

None

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Insertion and Deletion operation in Queue is known as ?

Push and Pop

Enqueue and Dequeue

Array and Linked List

Stack and Linked List

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In linked list implementation of a queue, front and rear pointers are tracked. Which of these pointers will change during an insertion into a NONEMPTY queue?

Only front pointer

Only rear pointer

Both front and rear pointer

None of the front and rear pointer

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Robin Robin Scheduling uses

Stack

Queue

Array

Linked list

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?