Search Header Logo

DSA

Authored by Seema Mandlik

Other

University

Used 8+ times

DSA
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If the elements “P”, “Q”, “R” and “S” are placed in a queue and are deleted one at a time, in what order will they be removed?

PQRS

QPRS

RPSQ

SRQP

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In linked list implementation of a queue, where does a new element be inserted?

At the start of link list

At the end of the link list

At the center position in the link list

None

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A data structure in which elements can be inserted or deleted at/from both the ends but not in the middle is?

Queue

Circular queue

Dequeue

Priority queue

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which type of queue can be used as queue or stack

Dequeue

Simple queue

Circular queue

Priority queue

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

This data structure allows deletions at both ends of the list but insertion at only one end.

Input-restricted deque

Output-restricted deque

Priority queues

None of the above

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A ……. is a data structure that organizes data similar to a line in the supermarket, where the first one in line is the first one out.

Queue linked list

Stack linked list

Both of them

None

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In a priority queue, insertion and deletion takes place at ………………

Front, rear end

Only at rear

Only at front

at any position

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?