SlideShare a Scribd company logo
1 of 28
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
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

What's hot

Scratch programming
Scratch programmingScratch programming
Scratch programmingYvonieDoria
 
Scratch for Data Logging and Graphing
Scratch for Data Logging and GraphingScratch for Data Logging and Graphing
Scratch for Data Logging and GraphingBrian Huang
 
Programming in scratch
Programming in scratchProgramming in scratch
Programming in scratchHussam Mostafa
 
Lesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer ProgrammingLesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer ProgrammingSeniorInfants
 
Scratch Lesson 1 – Basics
Scratch Lesson 1 – BasicsScratch Lesson 1 – Basics
Scratch Lesson 1 – BasicsDavid Oromaner
 
Scratch - Fixed loops
Scratch - Fixed loopsScratch - Fixed loops
Scratch - Fixed loopsStratton
 
Introduction to Scratch Programming
Introduction to Scratch ProgrammingIntroduction to Scratch Programming
Introduction to Scratch ProgrammingStorytimeSteph
 
Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to JavascriptAmit Tyagi
 
Introduction to Corel Draw
Introduction to Corel DrawIntroduction to Corel Draw
Introduction to Corel DrawANUSUYA T K
 
Python GUI Programming
Python GUI ProgrammingPython GUI Programming
Python GUI ProgrammingRTS Tech
 
Looking at how Scratch and Python compare
Looking at how Scratch and Python compareLooking at how Scratch and Python compare
Looking at how Scratch and Python compareEmily de la Pena
 
Scratch - Intuitive and Accessible Programming
Scratch - Intuitive and Accessible ProgrammingScratch - Intuitive and Accessible Programming
Scratch - Intuitive and Accessible ProgrammingGigi Gilbert-Igelsrud
 
JavaScript Tutorial
JavaScript  TutorialJavaScript  Tutorial
JavaScript TutorialBui Kiet
 
Windows form application - C# Training
Windows form application - C# Training Windows form application - C# Training
Windows form application - C# Training Moutasm Tamimi
 
Javascript variables and datatypes
Javascript variables and datatypesJavascript variables and datatypes
Javascript variables and datatypesVarun C M
 
Introduction to Python - Training for Kids
Introduction to Python - Training for KidsIntroduction to Python - Training for Kids
Introduction to Python - Training for KidsAimee Maree Forsstrom
 

What's hot (20)

Scratch programming
Scratch programmingScratch programming
Scratch programming
 
Scratch for Data Logging and Graphing
Scratch for Data Logging and GraphingScratch for Data Logging and Graphing
Scratch for Data Logging and Graphing
 
Programming in scratch
Programming in scratchProgramming in scratch
Programming in scratch
 
Lesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer ProgrammingLesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer Programming
 
Scratch Lesson 1 – Basics
Scratch Lesson 1 – BasicsScratch Lesson 1 – Basics
Scratch Lesson 1 – Basics
 
Scratch - Fixed loops
Scratch - Fixed loopsScratch - Fixed loops
Scratch - Fixed loops
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
Introduction to Scratch Programming
Introduction to Scratch ProgrammingIntroduction to Scratch Programming
Introduction to Scratch Programming
 
Scratch
ScratchScratch
Scratch
 
Scratch Lesson 3
Scratch Lesson 3Scratch Lesson 3
Scratch Lesson 3
 
Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to Javascript
 
Introduction to Corel Draw
Introduction to Corel DrawIntroduction to Corel Draw
Introduction to Corel Draw
 
Python GUI Programming
Python GUI ProgrammingPython GUI Programming
Python GUI Programming
 
Looking at how Scratch and Python compare
Looking at how Scratch and Python compareLooking at how Scratch and Python compare
Looking at how Scratch and Python compare
 
Scratch - Intuitive and Accessible Programming
Scratch - Intuitive and Accessible ProgrammingScratch - Intuitive and Accessible Programming
Scratch - Intuitive and Accessible Programming
 
JavaScript Tutorial
JavaScript  TutorialJavaScript  Tutorial
JavaScript Tutorial
 
Windows form application - C# Training
Windows form application - C# Training Windows form application - C# Training
Windows form application - C# Training
 
Chapter 2 c#
Chapter 2 c#Chapter 2 c#
Chapter 2 c#
 
Javascript variables and datatypes
Javascript variables and datatypesJavascript variables and datatypes
Javascript variables and datatypes
 
Introduction to Python - Training for Kids
Introduction to Python - Training for KidsIntroduction to Python - Training for Kids
Introduction to Python - Training for Kids
 

Viewers also liked

Scratch programmering länktips
Scratch programmering länktipsScratch programmering länktips
Scratch programmering länktipsKajsa Silén
 
FL2011: Ikt i matematikundervisningen, helena kvarnsell
FL2011: Ikt i matematikundervisningen, helena kvarnsellFL2011: Ikt i matematikundervisningen, helena kvarnsell
FL2011: Ikt i matematikundervisningen, helena kvarnsellFramtidens Lärande
 
What's Supersymmetry?
What's Supersymmetry?What's Supersymmetry?
What's Supersymmetry?Sinan Kuday
 
Kom igång med programmering
Kom igång med programmeringKom igång med programmering
Kom igång med programmeringLisaKodcentrum
 
Dark Matter, Physical Science Lesson PowerPoint
Dark Matter, Physical Science Lesson PowerPointDark Matter, Physical Science Lesson PowerPoint
Dark Matter, Physical Science Lesson PowerPointwww.sciencepowerpoint.com
 
Dark Matter - - the dark matter of the internet is open, social, peer-to-peer...
Dark Matter - - the dark matter of the internet is open, social, peer-to-peer...Dark Matter - - the dark matter of the internet is open, social, peer-to-peer...
Dark Matter - - the dark matter of the internet is open, social, peer-to-peer...Michael Edson
 
Dark matter and dark energy
Dark matter and dark energyDark matter and dark energy
Dark matter and dark energyAdnan Anwer
 
Experimental Searches for Dark Matter
Experimental Searches for Dark MatterExperimental Searches for Dark Matter
Experimental Searches for Dark MatterMorgan Catha
 
Dark Energy And Dark Matter
Dark Energy And Dark MatterDark Energy And Dark Matter
Dark Energy And Dark MatterAllie H.
 
Insights into Dark Matter
Insights into Dark MatterInsights into Dark Matter
Insights into Dark MatterKatie Mack
 
Scratch in the Classroom
Scratch in the ClassroomScratch in the Classroom
Scratch in the ClassroomDarrel Branson
 
Mystery of Dark Matter is solved!
Mystery of Dark Matter is solved!Mystery of Dark Matter is solved!
Mystery of Dark Matter is solved!Harri Carlson
 
Dark Matter and Dark Energy
Dark Matter and Dark EnergyDark Matter and Dark Energy
Dark Matter and Dark EnergyBryan Higgs
 
C Graphics Functions
C Graphics FunctionsC Graphics Functions
C Graphics FunctionsSHAKOOR AB
 

Viewers also liked (19)

Scratch programmering länktips
Scratch programmering länktipsScratch programmering länktips
Scratch programmering länktips
 
FL2011: Ikt i matematikundervisningen, helena kvarnsell
FL2011: Ikt i matematikundervisningen, helena kvarnsellFL2011: Ikt i matematikundervisningen, helena kvarnsell
FL2011: Ikt i matematikundervisningen, helena kvarnsell
 
Modern kosmologi
Modern kosmologiModern kosmologi
Modern kosmologi
 
Matte år 2014
Matte år 2014Matte år 2014
Matte år 2014
 
What's Supersymmetry?
What's Supersymmetry?What's Supersymmetry?
What's Supersymmetry?
 
Nytt av gammalt
Nytt av gammaltNytt av gammalt
Nytt av gammalt
 
Kom igång med programmering
Kom igång med programmeringKom igång med programmering
Kom igång med programmering
 
Dark Matter, Physical Science Lesson PowerPoint
Dark Matter, Physical Science Lesson PowerPointDark Matter, Physical Science Lesson PowerPoint
Dark Matter, Physical Science Lesson PowerPoint
 
Dark Matter - - the dark matter of the internet is open, social, peer-to-peer...
Dark Matter - - the dark matter of the internet is open, social, peer-to-peer...Dark Matter - - the dark matter of the internet is open, social, peer-to-peer...
Dark Matter - - the dark matter of the internet is open, social, peer-to-peer...
 
Dark matter and dark energy
Dark matter and dark energyDark matter and dark energy
Dark matter and dark energy
 
Experimental Searches for Dark Matter
Experimental Searches for Dark MatterExperimental Searches for Dark Matter
Experimental Searches for Dark Matter
 
Dark matter
Dark matterDark matter
Dark matter
 
Dark Energy And Dark Matter
Dark Energy And Dark MatterDark Energy And Dark Matter
Dark Energy And Dark Matter
 
Insights into Dark Matter
Insights into Dark MatterInsights into Dark Matter
Insights into Dark Matter
 
Universum
UniversumUniversum
Universum
 
Scratch in the Classroom
Scratch in the ClassroomScratch in the Classroom
Scratch in the Classroom
 
Mystery of Dark Matter is solved!
Mystery of Dark Matter is solved!Mystery of Dark Matter is solved!
Mystery of Dark Matter is solved!
 
Dark Matter and Dark Energy
Dark Matter and Dark EnergyDark Matter and Dark Energy
Dark Matter and Dark Energy
 
C Graphics Functions
C Graphics FunctionsC Graphics Functions
C Graphics Functions
 

Similar to Mini Scratch Unit

introduction to programming using scratch.ppt
introduction to programming using scratch.pptintroduction to programming using scratch.ppt
introduction to programming using scratch.pptLamini Harunah
 
Raspberry Pi and Physical Computing Workshop
Raspberry Pi and Physical Computing WorkshopRaspberry Pi and Physical Computing Workshop
Raspberry Pi and Physical Computing WorkshopRachel Wang
 
LabsLab8.htmlLab 8 Im Thinking of a NumberBefore yo.docx
LabsLab8.htmlLab 8 Im Thinking of a NumberBefore yo.docxLabsLab8.htmlLab 8 Im Thinking of a NumberBefore yo.docx
LabsLab8.htmlLab 8 Im Thinking of a NumberBefore yo.docxDIPESH30
 
Yeahhhh the final requirement!!!
Yeahhhh the final requirement!!!Yeahhhh the final requirement!!!
Yeahhhh the final requirement!!!olracoatalub
 
1.5 branching and subroutines
1.5   branching and subroutines1.5   branching and subroutines
1.5 branching and subroutinesallenbailey
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basicsom_nangia
 
Mark asoi ppt
Mark asoi pptMark asoi ppt
Mark asoi pptmark-asoi
 
Advanced java script essentials v1
Advanced java script essentials v1Advanced java script essentials v1
Advanced java script essentials v1ASHUTOSHPATKAR1
 
How tomakea gameinunity3d
How tomakea gameinunity3dHow tomakea gameinunity3d
How tomakea gameinunity3dDao Tung
 
My summary for cs001x computer science for beginners
My summary for cs001x computer science for beginnersMy summary for cs001x computer science for beginners
My summary for cs001x computer science for beginnersIbrahim Omar
 
Class #1: Blocks and Vocabulary
Class #1: Blocks and VocabularyClass #1: Blocks and Vocabulary
Class #1: Blocks and VocabularyAngela DeHart
 
Fundamentals of prog. by rubferd medina
Fundamentals of prog. by rubferd medinaFundamentals of prog. by rubferd medina
Fundamentals of prog. by rubferd medinarurumedina
 

Similar to Mini Scratch Unit (20)

introduction to programming using scratch.ppt
introduction to programming using scratch.pptintroduction to programming using scratch.ppt
introduction to programming using scratch.ppt
 
Day 1( magic camp)(1)
Day 1( magic camp)(1)Day 1( magic camp)(1)
Day 1( magic camp)(1)
 
scratch.pptx
scratch.pptxscratch.pptx
scratch.pptx
 
Raspberry Pi and Physical Computing Workshop
Raspberry Pi and Physical Computing WorkshopRaspberry Pi and Physical Computing Workshop
Raspberry Pi and Physical Computing Workshop
 
scratch-3-tutorial.pdf
scratch-3-tutorial.pdfscratch-3-tutorial.pdf
scratch-3-tutorial.pdf
 
Scratch Syntax 2 Cmp
Scratch Syntax 2 CmpScratch Syntax 2 Cmp
Scratch Syntax 2 Cmp
 
LabsLab8.htmlLab 8 Im Thinking of a NumberBefore yo.docx
LabsLab8.htmlLab 8 Im Thinking of a NumberBefore yo.docxLabsLab8.htmlLab 8 Im Thinking of a NumberBefore yo.docx
LabsLab8.htmlLab 8 Im Thinking of a NumberBefore yo.docx
 
Yeahhhh the final requirement!!!
Yeahhhh the final requirement!!!Yeahhhh the final requirement!!!
Yeahhhh the final requirement!!!
 
1.5 branching and subroutines
1.5   branching and subroutines1.5   branching and subroutines
1.5 branching and subroutines
 
My final requirement
My final requirementMy final requirement
My final requirement
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basic
 
Mark asoi ppt
Mark asoi pptMark asoi ppt
Mark asoi ppt
 
Scratch2
Scratch2Scratch2
Scratch2
 
Advanced java script essentials v1
Advanced java script essentials v1Advanced java script essentials v1
Advanced java script essentials v1
 
Lab a
Lab aLab a
Lab a
 
How tomakea gameinunity3d
How tomakea gameinunity3dHow tomakea gameinunity3d
How tomakea gameinunity3d
 
My summary for cs001x computer science for beginners
My summary for cs001x computer science for beginnersMy summary for cs001x computer science for beginners
My summary for cs001x computer science for beginners
 
Class #1: Blocks and Vocabulary
Class #1: Blocks and VocabularyClass #1: Blocks and Vocabulary
Class #1: Blocks and Vocabulary
 
Fundamentals of prog. by rubferd medina
Fundamentals of prog. by rubferd medinaFundamentals of prog. by rubferd medina
Fundamentals of prog. by rubferd medina
 
Switch case looping
Switch case loopingSwitch case looping
Switch case looping
 

More from Patrick Woessner

Digital fabrication for k 12 education
Digital fabrication for k 12 educationDigital fabrication for k 12 education
Digital fabrication for k 12 educationPatrick Woessner
 
An Urban Adventure in Project-Based Learning
An Urban Adventure in Project-Based LearningAn Urban Adventure in Project-Based Learning
An Urban Adventure in Project-Based LearningPatrick Woessner
 
Passion Based Learning: Lausanne 2012
Passion Based Learning: Lausanne 2012Passion Based Learning: Lausanne 2012
Passion Based Learning: Lausanne 2012Patrick Woessner
 
Passion-Based Learning ISACS Workshop
Passion-Based Learning ISACS WorkshopPassion-Based Learning ISACS Workshop
Passion-Based Learning ISACS WorkshopPatrick Woessner
 
7th grade presentation cite2
7th grade presentation  cite27th grade presentation  cite2
7th grade presentation cite2Patrick Woessner
 
7th grade presentation cite1
7th grade presentation  cite17th grade presentation  cite1
7th grade presentation cite1Patrick Woessner
 
Passion-Based Learning Workshop
Passion-Based Learning WorkshopPassion-Based Learning Workshop
Passion-Based Learning WorkshopPatrick Woessner
 
Collaboration in the Digital Age
Collaboration in the Digital AgeCollaboration in the Digital Age
Collaboration in the Digital AgePatrick Woessner
 
Social bookmarking with delicious
Social bookmarking with deliciousSocial bookmarking with delicious
Social bookmarking with deliciousPatrick Woessner
 
Wikis in the K12 Classroom
Wikis in the K12 ClassroomWikis in the K12 Classroom
Wikis in the K12 ClassroomPatrick Woessner
 

More from Patrick Woessner (20)

Digital fabrication for k 12 education
Digital fabrication for k 12 educationDigital fabrication for k 12 education
Digital fabrication for k 12 education
 
An Urban Adventure in Project-Based Learning
An Urban Adventure in Project-Based LearningAn Urban Adventure in Project-Based Learning
An Urban Adventure in Project-Based Learning
 
Managing Google Apps
Managing Google AppsManaging Google Apps
Managing Google Apps
 
Passion Based Learning: Lausanne 2012
Passion Based Learning: Lausanne 2012Passion Based Learning: Lausanne 2012
Passion Based Learning: Lausanne 2012
 
Intro to Systems Thinking
Intro to Systems ThinkingIntro to Systems Thinking
Intro to Systems Thinking
 
Passion-Based Learning ISACS Workshop
Passion-Based Learning ISACS WorkshopPassion-Based Learning ISACS Workshop
Passion-Based Learning ISACS Workshop
 
7th grade presentation cite2
7th grade presentation  cite27th grade presentation  cite2
7th grade presentation cite2
 
7th grade presentation cite1
7th grade presentation  cite17th grade presentation  cite1
7th grade presentation cite1
 
Passion-Based Learning Workshop
Passion-Based Learning WorkshopPassion-Based Learning Workshop
Passion-Based Learning Workshop
 
Collaboration in the Digital Age
Collaboration in the Digital AgeCollaboration in the Digital Age
Collaboration in the Digital Age
 
Social bookmarking with delicious
Social bookmarking with deliciousSocial bookmarking with delicious
Social bookmarking with delicious
 
Wikis in the K12 Classroom
Wikis in the K12 ClassroomWikis in the K12 Classroom
Wikis in the K12 Classroom
 
Tech Sci Classroom
Tech Sci ClassroomTech Sci Classroom
Tech Sci Classroom
 
Citizenship Digital Age
Citizenship Digital AgeCitizenship Digital Age
Citizenship Digital Age
 
Intro To Programming Cmp
Intro To Programming CmpIntro To Programming Cmp
Intro To Programming Cmp
 
Think Before You Post
Think Before You PostThink Before You Post
Think Before You Post
 
Web Eval Form
Web Eval FormWeb Eval Form
Web Eval Form
 
Website Evaluation 2009
Website Evaluation 2009Website Evaluation 2009
Website Evaluation 2009
 
K12 9-26 LAN Party
K12 9-26 LAN PartyK12 9-26 LAN Party
K12 9-26 LAN Party
 
Flat Class Workshop
Flat Class WorkshopFlat Class Workshop
Flat Class Workshop
 

Recently uploaded

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 

Recently uploaded (20)

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 

Mini Scratch Unit

  • 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
  • 6.
  • 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.