ADS Quiz 5

ADS Quiz 5

University

50 Qs

quiz-placeholder

Similar activities

CPSC 131 midterm review

CPSC 131 midterm review

University

45 Qs

Quiz

Quiz

University

50 Qs

Unit Test II

Unit Test II

University

45 Qs

Operating System Quiz for PGDCA

Operating System Quiz for PGDCA

University

50 Qs

Module 9

Module 9

University

50 Qs

DS-UNIT-2-Stack Queue

DS-UNIT-2-Stack Queue

University

50 Qs

CTDLGT_T03(Stack,Queue)

CTDLGT_T03(Stack,Queue)

University

54 Qs

Data Structures and Algorithm - Final Examinations Quiz

Data Structures and Algorithm - Final Examinations Quiz

University

51 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?