
Binary Trees A2 CS

Quiz
•
Computers
•
11th - 12th Grade
•
Hard
Ryan Coughlin
Used 5+ times
FREE Resource
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When adding a new node to a tree, which is not a pointer that you need
FreePtr
NewNodePtr
CurrentPtr
PreviousPtr
NextPtr
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When initialising the tree, what should the LeftPtr field have as a value?
The next index in the list
NullPtr
The RootPtr
The size of the array
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#When adding a new node to the tree:
IF TurnedLeft = TRUE
THEN
Tree [________] .Left Pointer <- NewNodePtr
FreePtr
CurrentPtr
PreviousPtr
NullPtr
RootPtr
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#When adding a new node to the tree:
Tree[_______] .Data <- Newitem
FreePtr
CurrentPtr
PreviousPtr
NewNodePtr
RootPtr
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#When adding a new node to the tree:
WHILE ThisNodePtr <> ________// while not a leaf node
FreePtr
CurrentPtr
PreviousPtr
NullPtr
RootPtr
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#When adding a new node to the tree:
IF Tree[ThisNodePtr] .Data > Newitem THEN
TurnedLeft <- TRUE
ThisNodePtr <- Tree [________].LeftPointer
FreePtr
ThisNodePtr
PreviousPtr
NullPtr
RootPtr
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#When adding a new node to the tree:
________ <- ThisNodePtr // remember this node
FreePtr
ThisNodePtr
PreviousPtr
NullPtr
RootPtr
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Abstract Data Types

Quiz
•
11th Grade
20 questions
COMP 210 - Help for MDTM 2

Quiz
•
12th Grade
20 questions
Basics of computer

Quiz
•
12th Grade
20 questions
A-level Binary Trees (video)

Quiz
•
11th Grade
20 questions
PTS KELAS 9

Quiz
•
9th - 12th Grade
25 questions
UH BAB II

Quiz
•
9th Grade - University
20 questions
Algorithm questions

Quiz
•
12th Grade - University
20 questions
IBDP Computer Science: abstract data structures

Quiz
•
12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade