Computer Science

Welcome to a Computational Thinking (CT) Challenge



The Puzzle
Explained Below

A Solution

Abstract an Algorithm
Pseudo-Code

Sample Code in Python

Puzzle
Gold Bar in a Chest

4 Chests - 1 Gold Bar


4 Treasure Chests.
Each Chest has a statement attached.
Only 1 statement is true.
All other statements are false.
Only 1 chest has the gold.
Where is the gold?



The sandbox below can be used to run the sample Python code or to play around with your own ideas.
Be careful of certain limitations of online IDEs compared to those downloaded to your devices.