Welcome to the upgraded MacSphere! We're putting the finishing touches on it; if you notice anything amiss, email macsphere@mcmaster.ca

Communicating Statecharts (CSC)

dc.contributor.advisorSmith, Spencer
dc.contributor.advisorAnand, Christopher K.
dc.contributor.authorEmdadi, Sheida
dc.contributor.departmentComputing and Softwareen_US
dc.date.accessioned2025-05-06T13:19:30Z
dc.date.available2025-05-06T13:19:30Z
dc.date.issued2025
dc.description.abstractConcurrency is increasingly gaining importance due to the rapid development of networked applications. However, concurrency comes with some complexities, including handling race conditions or deadlocks. Therefore, learning this concept and understanding its correct implementation is challenging, even for experienced programmers. This problem arises from the current practices of teaching concurrency because of the focus on confusing details instead of necessary concepts. We propose a new concurrency paradigm called Communicating StateCharts (CSC) to simplify the teaching of concurrency to beginner programmers. CSC preserves five main principles, aiming to make concurrency easier to learn and use for novices: software visualization, Model-Driven Development (MDD), pure functions, separation of concerns, and raising abstraction levels. In this regard, CSC adapts features from existing concurrency models that aligned with our principles, namely process calculi, the actor model, and Harel’s statecharts. This synthesis led to CSC’s atomic statecharts, communicating through messages transmitted via channels. To make CSC accessible for beginners, a visual MDD tool called CSCDraw is designed and developed. The main requirements that guided the design of CSCDraw include enforcing CSC principles, considering beginner-friendly features, ensuring faithful code generation, supporting conditional branches, and channel cardinality. We also present the design of a pilot study that investigates the most effective way of teaching CSC to beginning programmers. This study serves as a prelude to a more rigorous experiment to compare the effectiveness of CSC with the existing paradigms.en_US
dc.description.degreeMaster of Computer Science (MCS)en_US
dc.description.degreetypeThesisen_US
dc.identifier.urihttp://hdl.handle.net/11375/31620
dc.language.isoenen_US
dc.subjectConcurrencyen_US
dc.subjectComputer Science Educationen_US
dc.subjectModel-Driven Developmenten_US
dc.subjectEvent-Driven Programmingen_US
dc.titleCommunicating Statecharts (CSC)en_US
dc.typeThesisen_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Emdadi_Sheida-2025April_MSc.pdf
Size:
5.72 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.68 KB
Format:
Item-specific license agreed upon to submission
Description: