Sunday, November 05, 2006

 

Week of Nov. 6 - Turing, Ch. 6: Repetition (Loops)

We are now working on Chapter 6 (Repetition) of the Turing textbook. You will learn how to use the three types of loops.
- infinite loops
- conditional loops
- counted loops

Loops are a basic building block of any programming language, so once you learn how to use them in Turing, you will find it easy to learn them in Java, C, VB and other languages. By the end of this chapter, you will be able to write some very interesting programs.




Work through the chapter the usual way:

1. Read the chapter, answering questions from the file in the Pickup Folder and trying all the programs in the chapter.

2. Write programs for the questions at the end of the chapter. Create a separate file for each question, and name each after the pattern "Ch06_Q01.t".

3. Write programs for the questions you will find in an additional .pdf file in the Pickup Folder. Remember, programming is like learning to play a musical instrument in some ways - you get better the more you practise. The more programs you write, the more used you get to common pitfalls, the more familiar you are with syntax, and the better you become at finding solutions for computer problems.



<< Home

This page is powered by Blogger. Isn't yours?