
90. OCR A Level (H446) SLR14 – 1.4 Data structures part 4 – Tree
Authored by James Cole
Computers
11th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a tree in computer science?
A programming language
A data structure consisting of nodes and pointers
A type of function
A hardware component
Answer explanation
A tree in computer science is a data structure consisting of nodes and pointers, allowing for hierarchical organization of data.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is at the top of a tree data structure?
Leaf node
Root node
Pointer
Edge
Answer explanation
The correct choice is the Root node, which is located at the top of a tree data structure and serves as the starting point for traversing the tree.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are nodes at the very bottom of the tree called?
Root nodes
Subtrees
Child nodes
Leaf nodes
Answer explanation
Leaf nodes are the nodes at the very bottom of the tree, making them the correct choice for this question.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a binary tree?
A tree with binary data
A tree made of binary numbers
A tree where each node can have zero, one, or two pointers
A tree where each node can have up to 3 pointers
Answer explanation
A binary tree is a tree where each node can have zero, one, or two pointers, distinguishing it from trees with up to 3 pointers.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can binary trees be represented in memory?
As binary numbers
Through linked lists
With dictionaries in Python
Using stacks
Answer explanation
Binary trees can be represented in memory using dictionaries in Python, where each node is stored as a key-value pair with references to its children nodes.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a common use of binary trees in computer science?
Generating random numbers
Database applications for efficient searching and sorting
Designing websites
For creating visual effects in games
Answer explanation
Binary trees are commonly used in computer science for database applications to efficiently search and sort data, making them a crucial data structure for this purpose.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a subtree?
A binary tree within another binary tree
The first half of a tree
A set of nodes and edges from any single node down through all of its descendants
A small tree data structure
Answer explanation
A subtree is a set of nodes and edges from any single node down through all of its descendants.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
AP-CSP Binary Conversions
Quiz
•
7th - 12th Grade
20 questions
A Level CS - 06 Boolean Algebra & Logic Gates
Quiz
•
11th - 12th Grade
10 questions
ASJ 12 - LINUX FTP SERVER
Quiz
•
11th - 12th Grade
15 questions
Data packets and internet
Quiz
•
9th - 12th Grade
10 questions
Inspire - AI Trivia
Quiz
•
11th Grade
13 questions
Structure of HTML page Friday October 9 2020
Quiz
•
9th - 12th Grade
20 questions
Technology Innovations
Quiz
•
5th - 12th Grade
10 questions
CP111 1st Online Live Quiz
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
15 questions
ACT Reading Practice
Quiz
•
11th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade