Search Header Logo

DS Quiz

Authored by Neha Kori

English

University

Used 1+ times

DS Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

. Which of the following is the simplest data structure that supports range searching?

Linked List
Binary Tree
Hash Table
Array

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure is used for implementing recursion?

a) Stack

b) Queue

c) List

d) Array

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. What is the value of the postfix expression 6 3 2 4 + – *?

a) 74

b) -18

c) 22

d) 40

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

11. The prefix form of A-B/ (C D ^ E) is?

a) -A/BC^DE

b) -A/BC*^DE

c) -ABCD*^DE

d) -/*^ACBDE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Which matrix has most of the elements (not all) as Zero?

a) Identity Matrix

b) Unit Matrix

c) Sparse Matrix

d) Zero Matrix

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. Is O(n) the Worst case Time Complexity for addition of two Sparse Matrix?

a) True

b) False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of searching for an element in a balanced binary search tree?

a) O(n)

b) O(log n)

c) O(n log n)

d) O(1)

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?