After data sets, you need to add support to your programming language for control structures. Using those structures and your imagination, developers would create excellent programs in your programming language. The post is aligned with the Black Box Software Testing Foundations course (BBST) designed by Rebecca Fiedler, Cem Kaner, and James Bach.
Here we will consider only basic control structures:
- sequence of statements
As software testers, we need to understand those basic control structures so we could run a program with those control statements using only pen and paper. During my high school, this is how we wrote Pascal programs. The lab had only ten computers, and we had to wait for the schedule. By writing the execution sequence on paper, we actually debugged and tested our program. I was angry at that time for this method, but it helped me to master Pascal and later Fortran. Try to learn basic programming tricks in your preferred language using this method by first running your program on several sheets of paper.