The C programming language
Computer language usage in CS1: survey results
ACM SIGCSE Bulletin
Logical Construction of Systems
Logical Construction of Systems
A mid-career review of teaching computer science I
Proceeding of the 44th ACM technical symposium on Computer science education
Hi-index | 0.00 |
We propose a fork diagram as a visual representation of the algorithm for binary selection. Among other things, fork diagrams can be used to teach students how to write correctly nested if-else statements, analyze nested selection code, appreciate the problem of dangling else, and understand short circuit evaluation of conditions with boolean operators (and and or). We have used C code to illustrate concepts, although fork diagrams can be used for any high level language.