Search Header Logo

DSC QUIZ 4

Authored by NAYANA K

Other

2nd Grade

Used 2+ times

DSC QUIZ 4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In _______ data structure elements can be added in circular fashion

Simple Queue
Circular Queue
Stack
Deque

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

While displaying circular queue elements, which method is suitable to increment front value? Max: Maximum size of the queue

front=(front+1)/ Max
front=(front+1) % Max
front=front% Max
front+=1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In circular queue, insertion can be done by _________

(rear % 1) + MAXSIZE
rear %( 1 + MAXSIZE)
(rear +1) %MAXSIZE
rear + ( 1 % MAXSIZE)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Front and rear end is logically connected in ________ queue

Simple Queue
Circular Queue
Stack
Deque

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In priority queue elements will be inserted and deleted based on __________

Ascending order
Descending order
Priority of element
FIFO

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A data structure where elements can be added or removed at both the ends called __________

Tree
Stack
Queue
Deque

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A queue is called __________ when insertion as well as deletion of elements can take place at both the ends

Tree
Stack
Queue
Deque

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?