Category Archives: Education

String Loop AP CS A Practice Multiple Choose Question

Below is an AP styled multiple choice question involving involving a while loop over a string and the indexOf() method. What is the result of the call to the method [crayon-67400588555b0642866348-i/] [crayon-67400588555b7098632817-i/]  Error returns 1 infinite loop returns 3 returns 2   [crayon-67400588555b9897479067/]   Scroll down  for answer.   The answer is [crayon-67400588555bb429443775-i/]  Error returns 1 infinite … Continue reading String Loop AP CS A Practice ...

How to Tell the Difference between a Row and Column

Whether you are using Microsoft Excel , working with a computer programming language like Python or just a kid trying to find a seat in a classroom, the difference between rows and columns is very important! And, here at Penjee, we have found that kids in middle  and even lower school are able to understand the difference between rows … Continue reading How to Tell the Difference between a Row and Column →

Teaching Debugging in Penjee

Introduction   Debugging is like tasting a dish while working on it. A chef may check the level of salt or test to see the temperature of a roast. Debugging is like this, in that it lets you inspect the program as it is running and enables you to check variables or see errors as … Continue reading Teaching Debugging in Penjee →