comp 1001: introduction to computers for arts and social sciences programming in scratch monday, may...
TRANSCRIPT
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming in Scratch
Monday, May 16, 2011
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.
COMP 1001: Introduction to Computers for Arts and Social Sciences
A Tour of Scratch
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Boolean Values
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Boolean Values
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
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:If Statements
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:If Statements
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:If Statements
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:If Statements
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Loops
Start
StopCondition
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)
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
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
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
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Variables
myObject
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Variables
myObject
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Variables
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Variables
myObject
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Variables
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Broadcast
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Broadcast
COMP 1001: Introduction to Computers for Arts and Social Sciences
Programming Concepts:Broadcast
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/