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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Code-Free, Direct-Manipulation Interface for Constructing Boolean Expressions

April Yi Wang, Sverrir Thorgeirsson, Zhendong Su, Andrin Gasser
Teaching and Learning Programming
article

A Code-Free, Direct-Manipulation Interface for Constructing Boolean Expressions

April Yi Wang, Sverrir Thorgeirsson, Zhendong Su, Andrin Gasser
article en

Abstract

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.

ETH Zurich (CH)
Quality Education
Openalex Percentile: Top 63%
Teaching and Learning Programming
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.