Understanding Trees and Binary Trees

Understanding Trees and Binary Trees

12th Grade

15 Qs

quiz-placeholder

Similar activities

Heap and Search Tree

Heap and Search Tree

12th Grade

11 Qs

19.1 Algorithms Cambridge iA 9618

19.1 Algorithms Cambridge iA 9618

12th Grade

20 Qs

2.3.1 Graph Traversal & Path Finding Algorithms

2.3.1 Graph Traversal & Path Finding Algorithms

12th Grade - University

20 Qs

Data Structures Quiz

Data Structures Quiz

12th Grade

11 Qs

Binary

Binary

8th - 12th Grade

20 Qs

Digital Information

Digital Information

10th - 12th Grade

17 Qs

Binary Search Tree (Recap 1)

Binary Search Tree (Recap 1)

11th Grade - University

13 Qs

Test-1 S.Y.B.Sc.(CS)Div.-A DS-II

Test-1 S.Y.B.Sc.(CS)Div.-A DS-II

12th Grade

12 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?