DSA day 4

DSA day 4

University

5 Qs

quiz-placeholder

Similar activities

DFC30233 Data Structure -Chapter 4

DFC30233 Data Structure -Chapter 4

University

10 Qs

PDS - 04225 - Heaps and Treaps - Chapter 10

PDS - 04225 - Heaps and Treaps - Chapter 10

University

10 Qs

Unit 14: Abstract

Unit 14: Abstract

University

8 Qs

B. Sc III year

B. Sc III year

University

10 Qs

S Quiz

S Quiz

University

8 Qs

DSA laboratory

DSA laboratory

University

6 Qs

DS_Intellectual Break_Quiz_6.9.2021

DS_Intellectual Break_Quiz_6.9.2021

University

5 Qs

Stack & Queue

Stack & Queue

University

10 Qs

DSA day 4

DSA day 4

Assessment

Quiz

Computers

University

Easy

Created by

ramita jogi

Used 1+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A linear list of elements in which deletion can be done from one end (front) and insertion can take place only at the other end (rear) is known as _____________

Queue

Stack

Tree

Linked list

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A queue follows __________

FIFO (First In First Out) principle

LIFO (Last In First Out) principle

Ordered array

Linear tree

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Circular Queue is also known as ________

Ring Buffer

Square Buffer

Rectangle Buffer

Curve Buffer

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Queues serve major role in ______________

Simulation of recursion

Simulation of arbitrary linked list

Simulation of limited resource allocation

Simulation of heap sort

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Rear = front

Front = (rear + 1)mod MAX_SIZE

Rear = MAX_SIZE – 1

Front = rear + 1