โ† LessonsBUILDER PATH ยท 7โ€“9๐Ÿฆœ

Jungle Expression Canopy

LESSON 138
๐ŸŽฏ Today's missions
๐ŸŒฟ๐Ÿฆœ๐ŸŒณ
JUNGLE EXPLORER

Jungle Expression Canopy

A storm scattered the toucan's calculation cards. Grow them into a tree so the jungle computer knows which branch to solve firstโ€”and reaches the correct fruit total.

๐Ÿง  Before we start

Circus Ring Buffer organized work by arrival order. Today we organize a calculation by structure. Programs turn value and operation cards into an expression tree: values become leaves, operations become branches, and the root gives the final result.

๐Ÿƒ Read cardsโ†’๐ŸŒณ Grow treeโ†’๐Ÿงฎ Solve branchesโ†’๐Ÿ Return result
Challenge 1 of 4Name the tree parts
1

Read the canopy

Tap each tree part in the order a program uses it: values are leaves, operations join branches, and the top root returns the whole answer.

EXPRESSION TREE ยท DATA AT LEAVES, WORK AT BRANCHES
ADD
ROOT
โ•ฑ โ•ฒ
3
LEAF
MULTIPLY
BRANCH
โ•ฑ โ•ฒ
2
LEAF
4
LEAF

๐ŸŒŸ What you learned

Come back tomorrow for another advanced visual coding adventure! โœจ