A Code-Free, Direct-Manipulation Interface for Constructing Boolean Expressions
Boolean algebra is foundational to programming, yet the terse textual syntax of boolean expressions does not map clearly onto the way that students reason about logical conditions. To help bridge this gap, we introduce Boolean Canvas, a direct-manipulation interface that lets learners construct visual boolean diagrams while the corresponding Python code is generated in real time. We report on a within-subjects study with 29 tertiary-level students who solved boolean-logic tasks in Python with and without Boolean Canvas. Task success, cognitive load, system enjoyment, and perceived usability were recorded. Results show that Boolean Canvas performs similarly to a traditional code editor across objective and self-reported measures. We reflect on the design and study outcomes, identifying which features supported learning, which did not, and why, and offer evidence-based recommendations for instructors and tool builders.
Authors
- April Yi Wang (ORCID: https://orcid.org/0000-0001-8724-4662)
- Sverrir Thorgeirsson (ORCID: https://orcid.org/0000-0002-4455-7551)
- Zhendong Su (ORCID: https://orcid.org/0000-0002-2970-1391)
- Andrin Gasser
Institutions
- ETH Zurich (CH)
Publication Details
- Published
- 2026-02-13
- DOI
- https://doi.org/10.1145/3770762.3772643
- Primary Topic
- Teaching and Learning Programming
- Type
- article
- Field-Weighted Citation Impact
- 0.00