ADS Quiz 6

ADS Quiz 6

University

50 Qs

quiz-placeholder

Similar activities

C program MCQ contest

C program MCQ contest

University

50 Qs

SAS INFORMATIKA IX SEMESTER 1

SAS INFORMATIKA IX SEMESTER 1

9th Grade - University

45 Qs

CSI104 - part 1

CSI104 - part 1

University

50 Qs

DSA-Quiz

DSA-Quiz

University

53 Qs

Data Structures -Quiz- I B.Sc. AI & ML

Data Structures -Quiz- I B.Sc. AI & ML

University

50 Qs

Data Structures and Algorithm - Final Examinations Quiz

Data Structures and Algorithm - Final Examinations Quiz

University

51 Qs

Quiz

Quiz

University

50 Qs

CS8391 - Data Structure  - IAT I

CS8391 - Data Structure - IAT I

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?