Search Header Logo

DSA Quiz 24.7.2024

Authored by Dr. 2397

Computers

University

Used 3+ times

DSA Quiz 24.7.2024
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Q1. 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 _____________

Tree

Stack

Queue

Linked list

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Q2. A queue follows __________

Array

Ordered array

LIFO (Last In First Out) principle

FIFO (First In First Out) principle

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Q3. If the elements “A”, “B”, “C” and “D” are placed in a queue and are deleted one at a time, in what order will they be removed?

ABDC

DCAB

DCBA

ABCD

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Q4. Which of the following is NOT a common operation in a queue data structure? 

Enqueue 

Dequeue 


Peek 

Shuffle 

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Q5. Types of Queue

Linear and Circular

Stack

Array and List

Ring Buffer

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?