Back to Search Start Over

A Visualization for Teaching Integer Coercion

Authors :
James Faure Walker
Yu-Hsiang Hu
Ahmed Radwan
Jean Mayo
Yu Chin Cheng
Steven M. Carr
Ching-Kuang Shene
Source :
ITiCSE (Working Group Reports)
Publication Year :
2021
Publisher :
ACM, 2021.

Abstract

Integer errors continue to create vulnerabilities. In fact, Integer Overflow or Wraparound is listed at position 11 in the 2020 CWE Top 25 Most Dangerous Software Weaknesses. This poster describes the Expression Evaluation (EE) visualization tool that helps students understand the type conversions that take place implicitly within a C program. This tool depicts step-wise the coercions that take place within the evaluation of a user specified expression with mixed integer type operands. The system enables students to create unlimited examples to test their understanding. The tool was evaluated in the classroom and shown to be easy to use and effective.

Details

Database :
OpenAIRE
Journal :
Proceedings of the 26th ACM Conference on Innovation and Technology in Computer Science Education V. 2
Accession number :
edsair.doi...........c416bedcd45f2592207230b8ba583b7c
Full Text :
https://doi.org/10.1145/3456565.3460051