Zebra0

Learn to Program Step-by-Step

Teachers Toolkit: General

    Lots of Questions

    I ask lots of questions, starting with day 1. Most of the questions don't have a right or wrong answer: What did the meal cost? How much tip should we leave? What do we sell in our store? Is it a nice day? I think it sets an expectation that they will participate in class.

    N+1

    I try to introduce just one concept at a time. Each concept each just a little bit more complicated that the one before.

    I follow the same format for almost all of the programming classes I teach.

    1. I start with a program that we have done previously or the "hello world" program.
    2. If it is a long program I make it available somewhere so they can copy it.
    3. Everyone copies the program into their computer and gets it working.
    4. I modify the program on my computer slightly, adding a new concept and explain the concept. (This is called N+1, meaning that it is just a small addition to what they already know.)
    5. I give everyone a chance to make the same modification on their computer.
    6. I suggest a similar modification and ask them to try it.
    7. Go to step 4 and repeat again and again and again.

    Notes are available

    I copy everything we do in class to a document. At the end of class I either print it out or post it somewhere. Knowing that the notes will be available frees the students to concentrate on the task at hand rather than taking notes. This also solves the problem of the students copying the program down wrong, either leaving out a statement or copying the punctuation wrong.

    Pass the keyboard

    I sometimes have the class write a program together. I ask for a volunteer to come up and type in the "Hello World" program. Then I ask for someone to come up and declare the variables. Then someone to get the first piece of data from the user, etc. Usually there are errors or typos, so they get practice debugging. Sometimes I ask each person to pick the next student to come up..

    White-boards

    To avoid having one or two students answer all of the questions, I use miniature white boards. You can buy them, but I go to a home improvement store and buy a 4'x8' shower board for about $10. They cut it for me. When I ask a question, I ask everyone to write the answer on the board and hold it up. I can quickly look at each board and say "Don't forget the semicolon." or "Don't forget the parentheses."
    (I also ask them to write their name on the board at the start of class, especially at the beginning when I don't know the names yet.)


    This web site, and all pages therein, are the sole property and responsibility of Zebra0.com.
    It is not endorsed, sponsored or provided by or on behalf of Montgomery College.

    Like us on Facebook:


    OER: Open Educational Resource
    Creative Commons License Author: Janet E. Joy; Publisher: Zebra0.com
    This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
    Creative Commons Attribution-NonCommercial 4.0 International License
    Last modified: March 18 2016 10:04:47.