arrow
Return

ChartCode: A Flowchart-Centric Educational Tool for Introductory Programming

delete2026-01-01
delete0
PRE
AI
G
Guangming Xing *
G
Gongbo Liang
T
Tawfiq Salem
DOI:10.1145/3770762.3772525delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
This paper presents ChartCode, a web-based interactive programming environment designed to support introductory programming courses. ChartCode integrates flowchart-based visual program construction, multi-language code generation, expression parsing, and execution simulation within a single cohesive platform. Students build programs by constructing flowcharts, which are automatically translated into syntactically correct source code in Python, Java, C, and C++. A built-in expression parser generates syntax trees to help students understand operator precedence and subexpression structure. The system includes a client-side simulation engine that executes code step-by-step, dynamically highlighting control flow and visualizing changes in variable states during execution. ChartCode is publicly available at https://chartcode.org and features twenty scaffolded lessons covering core programming topics, along with a sandbox mode for open-ended exploration. The system has been deployed in university courses and high school summer camps and supports formative assessments through instructor-defined constraints on available programming constructs. This paper describes the system architecture, implementation details, instructional use cases, and plans for future enhancements to broaden its impact on computing education.
Keywords:
visual programming
flowchart-based learning
introductory programming
code simulation
formative assessment
multi-language code generation
LLM-resistant instruction
web-based educational tools

Journal

P
PROCEEDINGS OF THE 57TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION V.1, SIGCSE TS 2026
IF:
0
Papers:
170
Citations:
0

Organization

W
Western Kentucky University
Scholars:
1.1K
Papers: 935
Citations: 1.2K
T
Texas A&M University San Antonio
Scholars:
81
Papers: 63
Citations: 4
T
Texas A&M University System
Scholars:
4.4W
Papers: 4.0W
Citations: 4.0K
researcher View more organizations