
Binary Trees A2 CS
Quiz
•
Computers
•
11th - 12th Grade
•
Practice Problem
•
Hard
Ryan Coughlin
Used 5+ times
FREE Resource
Enhance your content in a minute
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
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
20 questions
Network topologies
Quiz
•
8th Grade - University
18 questions
Cyber Security and Social Engineering
Quiz
•
9th - 11th Grade
20 questions
Counter measures to mitigate cyber security threats
Quiz
•
11th Grade
20 questions
Basic of Computer and Network
Quiz
•
8th Grade - University
20 questions
ADMINISTRASI SISTEM JARINGAN
Quiz
•
11th Grade
20 questions
QUIS Animasi
Quiz
•
9th - 12th Grade
19 questions
m2-bbdd
Quiz
•
KG - University
25 questions
TIK01
Quiz
•
12th 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
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
