ADS Quiz 6

ADS Quiz 6

University

50 Qs

quiz-placeholder

Similar activities

cs102-1

cs102-1

University

49 Qs

DS and DAA Mock Quiz

DS and DAA Mock Quiz

University

50 Qs

Quiz Struktur Data: Tree

Quiz Struktur Data: Tree

University

50 Qs

C programming quiz

C programming quiz

University

55 Qs

CS8391 - DS - Model #1

CS8391 - DS - Model #1

University

50 Qs

KLA Quiz Struktur Data UAS

KLA Quiz Struktur Data UAS

University

50 Qs

Tree dan Graph

Tree dan Graph

University

50 Qs

CS8391 - DS-IAT#3

CS8391 - DS-IAT#3

University

50 Qs

ADS Quiz 6

ADS Quiz 6

Assessment

Quiz

Computers

University

Easy

Created by

Naman Chauhan

Used 1+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a forest in data structures?

Set of graphs

Set of disjoint trees

Binary tree

Tree with no leaves

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A tree is a special type of:

Stack

Queue

Graph

Array

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the degree of a node?

Number of child nodes

Number of ancestors

Number of siblings

Tree height

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the depth of a node?

Number of children

Number of siblings

Number of edges from root

Number of leaves

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A leaf node is a node with:

One child

Two children

No children

No parent

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A binary tree is a tree in which each node has at most:

One child

Two children

Three children

No child

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In an array representation of a binary tree, left child of node at index i is at:

2i

2i+1

i+1

2*i

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?