Understanding Trees and Binary Trees

Understanding Trees and Binary Trees

12th Grade

15 Qs

quiz-placeholder

Similar activities

A-level linked lists (video)

A-level linked lists (video)

12th Grade

13 Qs

Alevel Part 1 Linked lists

Alevel Part 1 Linked lists

12th Grade

20 Qs

Trees BSEMC

Trees BSEMC

12th Grade

18 Qs

Graph Traversal Algorithms Quiz

Graph Traversal Algorithms Quiz

12th Grade - University

13 Qs

Data Structures

Data Structures

9th - 12th Grade

21 Qs

Data Structures

Data Structures

12th Grade

15 Qs

Data Structures 2

Data Structures 2

12th Grade

21 Qs

SLR14 - Trees TAR

SLR14 - Trees TAR

11th - 12th Grade

20 Qs

Understanding Trees and Binary Trees

Understanding Trees and Binary Trees

Assessment

Interactive Video

Computers

12th Grade

Easy

Created by

Simon Withey

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the basic structure of a tree in computer science?

A linear sequence of elements

A collection of nodes without any hierarchical structure

A structure consisting of nodes and pointers with a root at the top

A graph with nodes having an unlimited number of pointers

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are leaf nodes?

Nodes with at least two child nodes

Nodes at the very bottom of the tree with no children

The topmost node of a tree

Nodes that are not connected to any other nodes

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How are nodes in a tree connected?

Through indexes

By arrays

With pointers and edges

Using classes

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a subtree?

A set of nodes and edges from any node down through all its descendants

A binary tree within another binary tree

A separate tree linked to the main tree

The top half of a tree

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a use of trees in computer science?

Storing and managing file and folder structures

Creating unlinked data clusters

Linear data storage

Performing arithmetic operations

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which algorithm might use trees for its implementation?

Linear regression

Binary search on arrays

A* pathfinding

Bubble sort

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many pointers can each node in a binary tree have?

Only one

Three or more

Up to two

Unlimited

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?