Thursday, September 24, 2009

Week of Sept. 21 - 25: Beginning to write programs using the Turing programming language

The topic of variables and constants is not difficult, but it's important to learn it well in order to continue with programming.
  1. Become familiar with how to declare a variable using var. For example:
    var maxTempDay1 : real

  2. Know the three data types -- int, real, string.
  3. Try to think of a variable as a named memory location, that is, an area of RAM the computer gives a name and waits for it to be given a value.



For a presentation a little different from the Turing textbook, you might look at the tutorial someone has written on Geocities at http://www.geocities.com/turing_site/Tutorials/Tutorial1.htm?20091.

No comments:

Post a Comment