100 likes | 270 Views
Introduction to Scratch. UC Santa Cruz CMPS 10 – Introduction to Computer Science www.soe.ucsc.edu/classes/cmps010/Spring11 ejw@cs.ucsc.edu 13 May 2011. What is Scratch?. Scratch is a programming language and environment Designed to make it easy to learn how to program
E N D
Introduction to Scratch UC Santa Cruz CMPS 10 – Introduction to Computer Science www.soe.ucsc.edu/classes/cmps010/Spring11 ejw@cs.ucsc.edu 13 May 2011
What is Scratch? • Scratch is a programming language and environment • Designed to make it easy to learn how to program • Programs are fun and graphical • Developed by Lifelong Kindergarten Group @ MIT Media Lab,
Benefits of Scratch • Can make a wide range of content • Interactive stories • Animations • Games • Music and art • Share content • Easily share Scratch creations on the Scratch website • Over 1.7 million projects shared so far • Easy to learn • No need to memorize language syntax • Programming language elements are visible on-screen • Drag-and-drop to use programming language elements • Designed for use by kids 8/9 years old on up • Software is free to use
Sprites On-screen sprite Box of available sprites Sprites are anything visual you see on screen. Each Sprite has an associated block of program code.
Scripts This code controls how this sprite moves Clicking on a sprite brings up its associated code (middle pane) Script pane (code pane)
How to program Drag and dropcode blocks intocode pane Can be free floating, or connect to other sequences of code Can also select and move code from code pane to remove Double-click on code block to execute – you’ll see results in the upper right window
Different kinds of statements Click a button here to bring up different code blockshere Different buttons in the upper left window bring up different programming blocks
Downloading Scratch • Scratch is freely available, and works on Windows, Macintosh, and Ubuntu Linux • scratch.mit.edu • Main website for Scratch • http://scratch.mit.edu/download • URL for downloading Scratch • Video tutorials • http://info.scratch.mit.edu/Video_Tutorials