August 2010
Intermediate to advanced
288 pages
13h 21m
English
Before you finish the SoundMachine program, you need to learn about one more aspect of data wires. So far, all the data you have worked with (the Ultrasonic and Rotation Sensor readings and the Power, Volume, and Tone Frequency settings) has been numbers. But numbers aren’t the only type of information. Think about the answers to the following three questions:
What is your name?
How old are you?
Are you the oldest child in your family?
Each question asks for a different kind of information. Your name is a word, your age is a number, and the answer to the third question is either “yes” or “no.” In computer programming, the term data types describes different kinds of information. Your answers to the previous three questions ...