Binary Trees and Graphs Quiz

Binary Trees and Graphs Quiz

University

20 Qs

quiz-placeholder

Similar activities

Error Correction Test

Error Correction Test

University

15 Qs

nhanh tay tinh mắt

nhanh tay tinh mắt

University

20 Qs

Occupational health and safety procedures

Occupational health and safety procedures

KG - University

20 Qs

Quemaduras 611

Quemaduras 611

University

18 Qs

Thermodynamics relation and Avaliability

Thermodynamics relation and Avaliability

University

16 Qs

Module 6: Social Groups and Organization

Module 6: Social Groups and Organization

11th Grade - Professional Development

20 Qs

FEELINGS AND VALUES

FEELINGS AND VALUES

University

15 Qs

Eng1.1.ME. Review for Exam 1

Eng1.1.ME. Review for Exam 1

University

15 Qs

Binary Trees and Graphs Quiz

Binary Trees and Graphs Quiz

Assessment

Quiz

Education

University

Practice Problem

Medium

Created by

o k

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?