Battle With DSA

Battle With DSA

University

30 Qs

quiz-placeholder

Similar activities

DSA - Q1

DSA - Q1

University

25 Qs

Data Structure(FINAL)

Data Structure(FINAL)

University

25 Qs

Data Strucuture & Python

Data Strucuture & Python

University

25 Qs

Aptitude Competition(SY)

Aptitude Competition(SY)

University

25 Qs

2nd Class Test FEB 2021

2nd Class Test FEB 2021

University

25 Qs

UAS DPK

UAS DPK

University

25 Qs

Data Structures Priliminary

Data Structures Priliminary

University

30 Qs

Data Structures Quiz

Data Structures Quiz

University

25 Qs

Battle With DSA

Battle With DSA

Assessment

Quiz

Computers

University

Hard

Created by

Shiv S

Used 12+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following data structures can be efficiently implemented using a stack?

Queue

Binary Search Tree

Heap

Graph

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

0

1

2

Attribute error

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following highly uses the concept of an array?

Binary Search tree

Caching

Spatial locality

Scheduling of Processes

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Convert the equivalent expression to prefix

-+/abc+d*ef

/+-abcd+*ef

-/+abc+*def

/-+abc+d*ef

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the outcome of the prefix expression?

18

17

25

26

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the time complexity of the following code snippet in C++?

O(n)

O(n2)

O(logn)

O(nlogn)

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the post order traversal for the given graph?

4,12,10,18,24,22,15,31,44,35,90,66,70,50,25

4,12,10,15,18,24,22,25,31,44,35,66,90,70,50

4,10,12,15,18,22,24,25,31,35,44,50,66,70,90

4,12,10,18,24,22,15,31,44,35,66,90,70,50,25

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?