Unit 7 Lab 1

Trees

In this lab, you will create a tree-drawing program that uses recursion to draw the branches by drawing smaller and smaller trees.

BJC Unit 7 Lab 1

Recursive Tree

BJC Unit 7 Lab 1 Part 1

Vocabulary

Click each word to view the definition.

State transparency

State transparency means putting everything back exactly as it was when you started. It is especially important when blocks depend on other blocks. Usually, this means returning the sprite to the same position and direction and returning the pen to the same color and size.

Recursion

Using a block inside of itself is called recursion.

The Base Case

BJC Unit 7 Lab 1 Part 2

Vocabulary

Click each word to view the definition.

Base case

This different version for the lowest level of a recursive script is called the base case.

Self-Check: Tree Inputs

BJC Unit 7 Lab 1 Part 3

Self-Check

Unit 7 Lab 1: Tree Inputs


Self-Check: Tree Inputs

BJC Unit 7 Lab 1 Part 4

Self-Check

Unit 7 Lab 1: Tree Variations


Vary Your Tree

BJC Unit 7 Lab 1 Part 5

If There Is Time...

BJC Unit 7 Lab 1 Part 5 ITIT

Click to access the page.