Search Header Logo

ADS Quiz 5

Authored by Naman Chauhan

Computers

University

Used 1+ times

ADS Quiz 5
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure is used to implement a queue?

Array

Linked List

Both A and B

Tree

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A queue follows which principle?

LIFO

FILO

FIFO

LILO

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the basic operations of a queue?

insert, delete

enqueue, dequeue

push, pop

add, remove

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the condition for queue overflow in an array implementation?

rear < max

rear = max - 1

front > rear

front = rear

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which pointer in a queue indicates the position from where element is deleted?

rear

front

mid

temp

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In array implementation, initially front and rear are set to:

0

-1

1

null

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operation will be used to add an element to the queue?

enqueue

pop

insert

addNode

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?