Binary Trees and Graphs Quiz

Binary Trees and Graphs Quiz

University

20 Qs

quiz-placeholder

Similar activities

BOOLEAN MASTER  - Think Quick

BOOLEAN MASTER - Think Quick

University

20 Qs

EC8702_ADWSN::Unit-2_Quiz-3

EC8702_ADWSN::Unit-2_Quiz-3

University

20 Qs

CCDSALG Practice Questions

CCDSALG Practice Questions

University

15 Qs

DS Training QUIZ 1

DS Training QUIZ 1

University

16 Qs

Data Structures and Algorithms - Prefinal Quiz

Data Structures and Algorithms - Prefinal Quiz

University

15 Qs

Oytie C Quiz

Oytie C Quiz

University

20 Qs

Microprocessor and Microcontroller

Microprocessor and Microcontroller

University

20 Qs

AlgoZenith SAKEC Quiz Competition

AlgoZenith SAKEC Quiz Competition

University

20 Qs

Binary Trees and Graphs Quiz

Binary Trees and Graphs Quiz

Assessment

Quiz

Education

University

Medium

Created by

Mo Kril

Used 2+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tree is a non-linear data structure.

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The root is the predecessor of all nodes below it.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The immediate predecessor of a node in a tree is called the root.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A tree is a collection of nodes and this collection may be empty.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Implementing a binary tree in a class requires a structure for representing the nodes of the binary tree, as well as a pointer to the structure as a class member. This pointer will be set to

the root of the tree.

the first leaf node.

the leftmost child node.

the deepest leaf node.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A child node that has no parent is

a rootless node

an orphan node

a leaf node

none of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The ________ in a binary tree is analogous to the head pointer in a linked list.

leaf pointer

binary pointer

null pointer

root pointer

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?