Binary Trees A2 CS

Binary Trees A2 CS

11th - 12th Grade

23 Qs

quiz-placeholder

Similar activities

Pointers

Pointers

12th Grade

20 Qs

Exam Style Questions

Exam Style Questions

10th - 11th Grade

18 Qs

Name The Disney Animation Films

Name The Disney Animation Films

KG - University

20 Qs

Clean, Sanitize and Store Kitchen Tools and Equipment

Clean, Sanitize and Store Kitchen Tools and Equipment

11th - 12th Grade

20 Qs

Summative Test in EMPTECH 3rd

Summative Test in EMPTECH 3rd

12th Grade

20 Qs

History of Package Design

History of Package Design

9th - 12th Grade

20 Qs

NP IT Quiz ปริศนาไอที #4

NP IT Quiz ปริศนาไอที #4

9th - 12th Grade

20 Qs

Quize FTP Server

Quize FTP Server

10th - 11th Grade

19 Qs

Binary Trees A2 CS

Binary Trees A2 CS

Assessment

Quiz

Computers

11th - 12th Grade

Practice Problem

Hard

Created by

Ryan Coughlin

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?