Quiz on Data Structures

Quiz on Data Structures

University

9 Qs

quiz-placeholder

Similar activities

Pretest Tumpukan dan Antrean

Pretest Tumpukan dan Antrean

10th Grade - University

10 Qs

Pretest QUEUE

Pretest QUEUE

University

10 Qs

Quiz 2 DS1E

Quiz 2 DS1E

University

12 Qs

Data structures

Data structures

University

12 Qs

DS-U2-QUIZ2

DS-U2-QUIZ2

University

12 Qs

Quiz 1 - AK2 Section

Quiz 1 - AK2 Section

University

10 Qs

UNIT-2 QUEUE

UNIT-2 QUEUE

University

10 Qs

DSA Launchpad 2.0

DSA Launchpad 2.0

University

10 Qs

Quiz on Data Structures

Quiz on Data Structures

Assessment

Quiz

Computers

University

Medium

Created by

SONALI SURYAWANSHI

Used 3+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a type of linked list

Circular

doubly

Singly

priority

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statement is true for traversing a linked list

while(Start!=NULL)

while(ptr!=NULL)

While(Ptr-->data !=NULL)

while(ptr==NULL)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is true for inserting node in the beginning

new_node = start

start = new_node

start==ptr

start == new_node

4.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

IF Node has to be inserted at the end of the list then which of the following code is correct?

Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The overflow condition in Circular Queue is

if front == 0 && rear == -1

if front == max-1 && rear == max -1

if front == 0 && rear == max-1

if front == -1 && rear == max

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In double ended queue, input restricted queue means

insertion cant be done on the queue

insertion can be done but deletion can not be done on the queue

insertion is done from both the ends but deletion from only one end

deletion can be done form both ends but insertion from only one end

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not among a linear data structure

stack

array

queue

tree

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which of the following is not a dynamic data structure

array

linked list

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what is the condition to preform enqueue operation in queue

if(front == -1) then enqueue ( )

if rear == 0 then enqueue( )

if rear !== MAX-1 the enqueue( )

if front != -1 and rear !== MAX the enqueue( )