Search Header Logo

Data structure computer

Authored by Netal Pande

Computers

University

Used 4+ times

Data structure computer
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Height of a binary tree is

MAX( Height of left Subtree, Height of right subtree)+1

(B) MAX( Height of left Subtree, Height of right subtree)

MAX( Height of left Subtree, Height of right subtree)-1

None

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

MAX( Height of left Subtree, Height of right subtree)+1

N

N-1

N-2

N*N

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The balance factor for an AVL tree is either ---

-1, 0 or 1

0, 1 or 2

-2, -1 or 0

All of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data structure is used to represent hierarchical relationship

between elements.

Graph

Linked List

Tree

Dequeue

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

------- search method required input in ascending or descending order

linear search

binary search

DFS

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Depth First Search is like a ------ traversal

Inorder

Preorder

Postorder

Stack

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7) In -------- search starts at beginning of list and check every element in the list

Linear Search

Binary Search

Hash Search

Hash Search

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?

Discover more resources for Computers