![Page 1: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/1.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming in Scratch
Monday, May 16, 2011
![Page 2: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/2.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Admin Stuff
• Office hours are posted and started earlier today.
• Work on Assignment 1 early so you can look at Assignment 2.
• Assignment 2 posted tonight.• I will post an announcement asking you to print something to bring to next class. DO IT.
![Page 3: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/3.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
A Tour of Scratch
![Page 4: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/4.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Boolean Values
![Page 5: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/5.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Boolean Values
![Page 6: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/6.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Boolean Values
And: Both must be trueOr: One or both must be true
Not: Must be false
![Page 7: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/7.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:If Statements
![Page 8: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/8.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:If Statements
![Page 9: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/9.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:If Statements
![Page 10: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/10.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:If Statements
![Page 11: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/11.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Loops
Start
StopCondition
![Page 12: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/12.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Loops
Forever loop: no stop condition(literally goes forever – or at least until the program stops)
![Page 13: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/13.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Loops
Forever if loop: goes forever, butonly runs the code inside when the boolean is TRUE
![Page 14: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/14.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Loops
Repeat loop: repeats the code exactly the numberof times you tell it to
![Page 15: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/15.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Loops
Repeat until loop: continues until theboolean value is TRUE, then stops for good
![Page 16: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/16.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Variables
myObject
![Page 17: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/17.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Variables
myObject
![Page 18: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/18.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Variables
![Page 19: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/19.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Variables
myObject
![Page 20: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/20.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Variables
![Page 21: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/21.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Broadcast
![Page 22: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/22.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Broadcast
![Page 23: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/23.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Broadcast
![Page 24: COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011](https://reader036.vdocuments.us/reader036/viewer/2022062518/56649e4f5503460f94b45d46/html5/thumbnails/24.jpg)
COMP 1001: Introduction to Computers for Arts and Social Sciences
Tutorials!
http://www.cs.harvard.edu/malan/scratch/http://www.scratch.ie/students
http://learnscratch.org/