Math with Trees


Work with your assigned partner to find a solution to the following problems.

Part 1

Determine a way of representing the following arithmetic expressions as a binary tree.

  1. (10 * 2) + 1
  2. (9 / 3) - (2 + 2)
  3. ((((1 + 1) + 1) + 1) + 1)


Part 2

Write pseudo-code to evaluate an arithmetic expression stored in a binary tree.


Part 3

Use your algorithm to evaluate the examples above, show each step.



This page was last modified on 2026-11-20 at 05:35:03.

Copyright © 2018–2026 George Fox University. All rights reserved.