Search Header Logo

Data Structures Activity - 1

Authored by Krishkanth Karthik

Computers

University

Used 10+ times

Data Structures Activity - 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Which data structure is used for implementing recursion?

Stack

Heat Maps

Recursion Stack

Queue

Answer explanation

2.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

The data structure required for Breadth First Traversal on a graph is?

Stack

Queue

Array

Trees

3.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

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

-A/B*C^DE

-A/BC*^DE

-ABCD*^DE

-/*^ACBDE

4.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Which of the following points is/are not true about Linked List data structure when it is compared with an array?

Arrays have better cache locality that can make them better in terms of performance

Random access is not allowed in a typical implementation of Linked Lists

It is easy to insert and delete elements in Linked List

Access of elements in linked list takes less time than compared to arrays

5.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Which of the following is not the type of queue?

Single ended queue

Priority queue

Circular queue

Ordinary queue

6.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Which of the following data structures can be used for parentheses matching?

n-ary tree

Queue

Priority Stack

Stack

7.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

What is an AVL tree?

a tree which is balanced and is a height balanced tree

a tree with three children

a tree with atmost 3 children

a tree which is unbalanced and is a height balanced tree

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?