SlideShare a Scribd company logo
Intro to Programming
Algebra-Geometry
Computer Programming?
 What is programming?
 The process of writing, testing, and maintaining
the source code of computer programs.
 Telling the computer what to do
 Why learn to program?
 Develops logic and problem-solving skills
 Improves attention to detail
 It’s fun!
But I’m Not a Geek!
 Until recently, programming required
knowledge of computer language syntax
Anyone Can Program!
 New tools, like Scratch, allow ANYONE to
create computer programs without learning
complicated syntax.
Programming with Scratch
 Open Scratch from either the desktop icon or
Start Menu
woessnerscratchunit-090518182238-phpapp01.pdf.ppt
Homework
 Make sure you have the latest version of
Scratch installed on your Tablet PC
 Finish working through the Scratch Getting
Started Guide
 Feel free to experiment and explore!
Scratch Syntax: Part 1
Algebra-Geometry
Statements
 In programming, a statement is simply a
directive that tells the computer to do
something. Think of it as a command or an
instruction.
 In Scratch, any block whose label reads like
a command is a statement.
Boolean Expressions
 Sometimes, you only want a statement to be
executed under certain conditions. Such
conditions are defined in terms of Boolean
expressions.
 In programming, a Boolean expression is
an expression that is either true or false. In
Scratch, any block shaped like an elongated
diamond is a Boolean expression.
Boolean Expressions
 One such block is:
After all, it is either true that the mouse button
is down or it is false.
 Another such block is:
After all, it is either true that some number is
less than another number or it is false.
 With Boolean expressions can we construct
conditions.
Conditions
 In programming, a condition is something
that must be true in order for something to
happen.
 A condition is thus said to "evaluate to true"
or "evaluate to false."
 In Scratch, any block whose label says "if,"
"when," or "until" is a sort of conditional
construct.
Conditions
 If Construct: Instruct a sprite to say hello
only if, say, the user has depressed the
mouse button:
 If-Else Construct: Instruct a sprite to say
hello or goodbye, depending on whether the
user has depressed the mouse button:
Conditions
 When Construct: Instruct a sprite to do
something when an event occurs:
 When Construct: Instruct a sprite to wait to
do something until a condition is true:
Loops
 In programming, a loop can induce multiple
executions of statements.
 In Scratch, any block whose label begins with
"forever" or "repeat" is a looping construct.
Follow Me
Follow Me applet
Homework
 Complete the Cat Walk Project
 You may wish to use the Scratch Reference
Guide and the Programming Concepts
Handout as resources
 Completed projects need to be submitted via
Interact by the due date.
Scratch Syntax: Part 2
Algebra-Geometry
Variables
 In programming, a variable is a placeholder
for some value, much like x and y are popular
variables in algebra.
 In Scratch, variables are represented with
blocks shaped like elongated circles,
uniquely labeled by you.
Threads
 In programming, a thread is like a mini-
program within a program that can execute at
the same time as other threads.
 In Scratch, any block whose label begins with
"when" essentially demarks the start of a
thread.
Events
 An event is a signal from one thread to
another.
 Blocks whose labels begin with "broadcast"
signal events whereas blocks whose labels
begin with "when" handle events.
Pac Man and Pong
 Games like Pac Man
use Threads
 A Variable could be
added to Pong
Homework
 Complete the Tweak a Game Project
 Remember that the video tutorials can be
very helpful
 Completed projects need to be submitted via
Interact by the due date. Don’t forget to
include your brief written summary!
Scratch Syntax:
Your First Game
Algebra-Geometry
Adding a Level
 Levels can be added using threads and
events.
Copter Game Flight Code
Copter Game—One Level
Homework
 Complete the Your First Game Project
 You may wish to use the Copter Game and
Levels program as resources
 Completed projects need to be submitted via
Interact by the due date.

More Related Content

PPT
introduction to programming using scratch.ppt
PPT
Intro To Scratch
PPTX
Day 1( magic camp)(1)
PPTX
Raspberry Pi and Physical Computing Workshop
PDF
My summary for cs001x computer science for beginners
PDF
scratch-3-tutorial.pdf
PPT
Introduction
PPTX
Learn to Code and Have Fun Doing It!
introduction to programming using scratch.ppt
Intro To Scratch
Day 1( magic camp)(1)
Raspberry Pi and Physical Computing Workshop
My summary for cs001x computer science for beginners
scratch-3-tutorial.pdf
Introduction
Learn to Code and Have Fun Doing It!

Similar to woessnerscratchunit-090518182238-phpapp01.pdf.ppt (20)

PPTX
PPTX
Scratch Programming for begginer students
PPTX
Scratch Programming for a begginer programmer
PDF
Cat scratch
PPTX
Programming with Scratch
PPTX
scratch-141107045720-conversion-gate02.pptx
PDF
LibraryLinkNJ - Scratch Slides Part 1
PPTX
Introduction to Coding
PDF
what speaking for interview schools .pdf
PPTX
VISUAL PROGRAMMING CONCEPTS for junior sch
PDF
How do I learn to code with Scratch in AEP
PPTX
Lecture 1.pptx
PPTX
Inspiring Kids to Code Using Scratch and Other Tools
PPTX
Inspiring Kids to Code Using Scratch and Other Tools
PDF
PPTX
scratch.pptx
PPTX
Grade-5 Topic-5 Fun with Scratch_Master.pptx
PPT
Scratch and pair programming
PPTX
class 4 5.pptx scrach coding full explain
PPTX
Pseudocode
Scratch Programming for begginer students
Scratch Programming for a begginer programmer
Cat scratch
Programming with Scratch
scratch-141107045720-conversion-gate02.pptx
LibraryLinkNJ - Scratch Slides Part 1
Introduction to Coding
what speaking for interview schools .pdf
VISUAL PROGRAMMING CONCEPTS for junior sch
How do I learn to code with Scratch in AEP
Lecture 1.pptx
Inspiring Kids to Code Using Scratch and Other Tools
Inspiring Kids to Code Using Scratch and Other Tools
scratch.pptx
Grade-5 Topic-5 Fun with Scratch_Master.pptx
Scratch and pair programming
class 4 5.pptx scrach coding full explain
Pseudocode
Ad

Recently uploaded (20)

PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
PDF
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
PPTX
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PDF
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
PPTX
Funds Management Learning Material for Beg
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PPTX
Introduction to Information and Communication Technology
PPTX
Internet___Basics___Styled_ presentation
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
PPTX
Digital Literacy And Online Safety on internet
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PDF
Introduction to the IoT system, how the IoT system works
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
PDF
How to Ensure Data Integrity During Shopify Migration_ Best Practices for Sec...
PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
PDF
Cloud-Scale Log Monitoring _ Datadog.pdf
Decoding a Decade: 10 Years of Applied CTI Discipline
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
SASE Traffic Flow - ZTNA Connector-1.pdf
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
Design_with_Watersergyerge45hrbgre4top (1).ppt
WebRTC in SignalWire - troubleshooting media negotiation
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
Funds Management Learning Material for Beg
INTERNET------BASICS-------UPDATED PPT PRESENTATION
Introduction to Information and Communication Technology
Internet___Basics___Styled_ presentation
Power Point - Lesson 3_2.pptx grad school presentation
Digital Literacy And Online Safety on internet
Introuction about ICD -10 and ICD-11 PPT.pptx
Introduction to the IoT system, how the IoT system works
The New Creative Director: How AI Tools for Social Media Content Creation Are...
How to Ensure Data Integrity During Shopify Migration_ Best Practices for Sec...
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
Cloud-Scale Log Monitoring _ Datadog.pdf
Ad

woessnerscratchunit-090518182238-phpapp01.pdf.ppt

  • 2. Computer Programming?  What is programming?  The process of writing, testing, and maintaining the source code of computer programs.  Telling the computer what to do  Why learn to program?  Develops logic and problem-solving skills  Improves attention to detail  It’s fun!
  • 3. But I’m Not a Geek!  Until recently, programming required knowledge of computer language syntax
  • 4. Anyone Can Program!  New tools, like Scratch, allow ANYONE to create computer programs without learning complicated syntax.
  • 5. Programming with Scratch  Open Scratch from either the desktop icon or Start Menu
  • 7. Homework  Make sure you have the latest version of Scratch installed on your Tablet PC  Finish working through the Scratch Getting Started Guide  Feel free to experiment and explore!
  • 8. Scratch Syntax: Part 1 Algebra-Geometry
  • 9. Statements  In programming, a statement is simply a directive that tells the computer to do something. Think of it as a command or an instruction.  In Scratch, any block whose label reads like a command is a statement.
  • 10. Boolean Expressions  Sometimes, you only want a statement to be executed under certain conditions. Such conditions are defined in terms of Boolean expressions.  In programming, a Boolean expression is an expression that is either true or false. In Scratch, any block shaped like an elongated diamond is a Boolean expression.
  • 11. Boolean Expressions  One such block is: After all, it is either true that the mouse button is down or it is false.  Another such block is: After all, it is either true that some number is less than another number or it is false.  With Boolean expressions can we construct conditions.
  • 12. Conditions  In programming, a condition is something that must be true in order for something to happen.  A condition is thus said to "evaluate to true" or "evaluate to false."  In Scratch, any block whose label says "if," "when," or "until" is a sort of conditional construct.
  • 13. Conditions  If Construct: Instruct a sprite to say hello only if, say, the user has depressed the mouse button:  If-Else Construct: Instruct a sprite to say hello or goodbye, depending on whether the user has depressed the mouse button:
  • 14. Conditions  When Construct: Instruct a sprite to do something when an event occurs:  When Construct: Instruct a sprite to wait to do something until a condition is true:
  • 15. Loops  In programming, a loop can induce multiple executions of statements.  In Scratch, any block whose label begins with "forever" or "repeat" is a looping construct.
  • 17. Homework  Complete the Cat Walk Project  You may wish to use the Scratch Reference Guide and the Programming Concepts Handout as resources  Completed projects need to be submitted via Interact by the due date.
  • 18. Scratch Syntax: Part 2 Algebra-Geometry
  • 19. Variables  In programming, a variable is a placeholder for some value, much like x and y are popular variables in algebra.  In Scratch, variables are represented with blocks shaped like elongated circles, uniquely labeled by you.
  • 20. Threads  In programming, a thread is like a mini- program within a program that can execute at the same time as other threads.  In Scratch, any block whose label begins with "when" essentially demarks the start of a thread.
  • 21. Events  An event is a signal from one thread to another.  Blocks whose labels begin with "broadcast" signal events whereas blocks whose labels begin with "when" handle events.
  • 22. Pac Man and Pong  Games like Pac Man use Threads  A Variable could be added to Pong
  • 23. Homework  Complete the Tweak a Game Project  Remember that the video tutorials can be very helpful  Completed projects need to be submitted via Interact by the due date. Don’t forget to include your brief written summary!
  • 24. Scratch Syntax: Your First Game Algebra-Geometry
  • 25. Adding a Level  Levels can be added using threads and events.
  • 28. Homework  Complete the Your First Game Project  You may wish to use the Copter Game and Levels program as resources  Completed projects need to be submitted via Interact by the due date.