ADS Quiz 5

ADS Quiz 5

University

50 Qs

quiz-placeholder

Similar activities

DS and DAA Mock Quiz

DS and DAA Mock Quiz

University

50 Qs

CODE_ASSESMENT

CODE_ASSESMENT

University

50 Qs

CS8391 - Data Structure  - IAT I

CS8391 - Data Structure - IAT I

University

50 Qs

Quiz81-DS

Quiz81-DS

University

45 Qs

Data Structures Quiz

Data Structures Quiz

University

50 Qs

SD (stack, queue, graph)

SD (stack, queue, graph)

University

50 Qs

DSA QUIZ

DSA QUIZ

University

45 Qs

Data Structures Quiz

Data Structures Quiz

University

50 Qs

ADS Quiz 5

ADS Quiz 5

Assessment

Quiz

Computers

University

Easy

Created by

Naman Chauhan

Used 1+ times

FREE Resource

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

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?