Tuesday, Week 4

1.  Decision Table:   
            Sandwiches cost is $3 small, $4 medium, $5 large
            Supersize adds $.50
            Coupon give you $1 off

2.  Read Code:  Questions
           -for each line of code:
                    calculate value of variable
                    do print
                    decide where to go next
                    keep track of where you are and values of variables

3.  Write Code:

Write a program to get values from the user until the user enters a 0.  For each number tell if it is odd or even.  If it is over 90, tell the user "good job"  When the loop is exited, print the highest odd score, the average of all the even numbers, and the number of odd scores.

4.  Other examples:  Write Code

5.  Object Oriented Programming:  Basketball

6.  Event Loop and GUI:  Where to go next?

7.  What can a computer do?  What are its limits?

         -can a computer do anything you can teach a person to do?

         -can a computer learn on its own?

         -can a computer be 'creative'