Tag Archives: code

What is DeMorgan’s Law in Programming? [ Answered with pics]

Demorgan’s Law is something that any student of programming eventually needs to deal with. Just tell me the “formula”: ok the diagram below shows the 2 ways that you can re-write a compound boolean expression using DeMorgan’s Law. (The very bottom of this page shows coding examples and common misconceptions) How do you say “no” to … Continue reading What is DeMorgan’s Law in Programming? [ Answered with pics] →

While Loop Example-Spell Letter Z

  We’re beginning to flesh out the details of more advanced Penjee coding challenges, ones that require loops. We are adapting a Jeroo assignment , that I wrote for my student coders, and  we are applying it to Penjee. The goal of this assignment is straightforward :  “Spell the letter Z’ by dropping Fish .  Kids … Continue reading While Loop Example-Spell Letter Z →