Friday, April 22, 2011

Lesson 4 Source Code

List of videos Lesson 4 Video
To get the full benefit of the lesson, watch the video Lesson 4: Variables part 2: Assigning variables NOTE: for a fast copy, follow these steps in order:
  1. Click anywhere in a text box below (result will be a blinking vertical line in the text box)
  2. Hit ctrl + A on the key board (the "ctrl + A" means hit Ctrl and A at the same time) (The result should be that all the text inside the text box lights up in blue)
  3. Hit Ctrl + C (Nothing significantly happens that is visible) and now its copied to the clipboard and your ready to paste it anywhere you wish

A little more on Declaring and assigning variables
The main emphasis on this video is ONE AND ONLY ONE VARIABLE will go onthe left hand side of the assignment operator (=) while any other expression can go on the right hand side.The value on the right hand side will be the new value of the ONE varibale on the left hand side. Variables can be re-assigned a different value throughout different points of the program. In this example, apples and oranges will be equal to 29 because the value of the right hand side of the assignment operator In this example, apples and oranges will be equal to 29 because the value of the right hand side of the assignment operator

No comments:

Post a Comment