DSA quiz

DSA quiz

University

10 Qs

quiz-placeholder

Similar activities

Queue

Queue

University

7 Qs

DSA - Intro

DSA - Intro

University

10 Qs

Circular queue

Circular queue

University

13 Qs

Data Structure

Data Structure

University

10 Qs

DataStructure

DataStructure

University

15 Qs

Stacks and Queues Quiz

Stacks and Queues Quiz

University

15 Qs

Data Structures Quiz-2

Data Structures Quiz-2

University

10 Qs

DSA(UNIT 1) Test 1

DSA(UNIT 1) Test 1

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?