DSA quiz

DSA quiz

University

10 Qs

quiz-placeholder

Similar activities

QUEUE

QUEUE

University - Professional Development

10 Qs

DS-U2-QUIZ2

DS-U2-QUIZ2

University

12 Qs

Data Structures

Data Structures

University

12 Qs

Pretest Tumpukan dan Antrean

Pretest Tumpukan dan Antrean

10th Grade - University

10 Qs

Pre - TEST

Pre - TEST

University

15 Qs

Stacks/Queues

Stacks/Queues

University

9 Qs

special

special

University

10 Qs

Data Structure Revision Continuous

Data Structure Revision Continuous

University

10 Qs

DSA quiz

DSA quiz

Assessment

Quiz

Computers

University

Medium

Created by

Pooja Kottary

Used 5+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to access the value at the address stored in a pointer?

&
->
@
*

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which best explains a sparse matrix?

A matrix with all elements being non-zero.
A matrix that is always square in shape.
A matrix that contains only positive numbers.

A matrix with Most Number of Zero

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure is used in infix to postfix conversion?

Stack
Queue
Linked List
Array

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the Stack is full what is the value of top pointer?

Top = 0

Top = -1

Top = Max-1

Top = n

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which queue allows insertion and deletion from both ends?

Deque
Stack
Priority Queue
Circular Queue

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a circular queue of size n, how many elements can be stored?

n
n + 1

n-1

unlimited

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 Which operation is used to insert an element in a queue?

dequeue

enqueue

pop

push

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?