SlideShare uma empresa Scribd logo
1 de 8
Scratch Syntax: Part 2 CMP
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.
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.
Simple Games Simple games use threads and events to create new levels.
Copter Game—One Level
Homework Complete the Simple Game Project Completed projects need to be submitted via email by the due date.

Mais conteúdo relacionado

Destaque

Reason Lesson 3 - Adding Intrument Parts
Reason Lesson 3 - Adding Intrument PartsReason Lesson 3 - Adding Intrument Parts
Reason Lesson 3 - Adding Intrument Parts
David Oromaner
 
Reason Lesson 2 – Drum Samples
Reason Lesson 2 – Drum SamplesReason Lesson 2 – Drum Samples
Reason Lesson 2 – Drum Samples
David Oromaner
 
Scratch Lesson 3 - Interactivity
Scratch Lesson 3 -  InteractivityScratch Lesson 3 -  Interactivity
Scratch Lesson 3 - Interactivity
David Oromaner
 
Lesson 1: scratch basics
Lesson 1: scratch basicsLesson 1: scratch basics
Lesson 1: scratch basics
jonathanbyrne
 

Destaque (20)

Reason Lesson 3 - Adding Intrument Parts
Reason Lesson 3 - Adding Intrument PartsReason Lesson 3 - Adding Intrument Parts
Reason Lesson 3 - Adding Intrument Parts
 
Scratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint EditorScratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint Editor
 
Reason Lesson 2 – Drum Samples
Reason Lesson 2 – Drum SamplesReason Lesson 2 – Drum Samples
Reason Lesson 2 – Drum Samples
 
Scratch Lesson 3 - Interactivity
Scratch Lesson 3 -  InteractivityScratch Lesson 3 -  Interactivity
Scratch Lesson 3 - Interactivity
 
Lesson 1: scratch basics
Lesson 1: scratch basicsLesson 1: scratch basics
Lesson 1: scratch basics
 
Scratch Lesson 5
Scratch Lesson 5Scratch Lesson 5
Scratch Lesson 5
 
Scratch Lesson 4
Scratch Lesson 4Scratch Lesson 4
Scratch Lesson 4
 
Scratch Lesson 6
Scratch Lesson 6Scratch Lesson 6
Scratch Lesson 6
 
Scratch Lesson 3
Scratch Lesson 3Scratch Lesson 3
Scratch Lesson 3
 
Scratch Lesson 1
Scratch Lesson 1Scratch Lesson 1
Scratch Lesson 1
 
Scratch Lesson 2
Scratch Lesson 2Scratch Lesson 2
Scratch Lesson 2
 
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
 
Scratch2
Scratch2Scratch2
Scratch2
 
Creative Teaching with Scratch 2010
Creative Teaching with Scratch 2010Creative Teaching with Scratch 2010
Creative Teaching with Scratch 2010
 
Programming with Scratch
Programming with ScratchProgramming with Scratch
Programming with Scratch
 
Citizenship Digital Age
Citizenship Digital AgeCitizenship Digital Age
Citizenship Digital Age
 
Scratch project ideas
Scratch project ideasScratch project ideas
Scratch project ideas
 
Scratch Basics
Scratch BasicsScratch Basics
Scratch Basics
 
Programming in scratch
Programming in scratchProgramming in scratch
Programming in scratch
 
Intro To Scratch
Intro To ScratchIntro To Scratch
Intro To Scratch
 

Semelhante a Scratch Syntax 2 Cmp

Dylan Butler & Oliver Hager - Building a cross platform cryptocurrency app
Dylan Butler & Oliver Hager - Building a cross platform cryptocurrency appDylan Butler & Oliver Hager - Building a cross platform cryptocurrency app
Dylan Butler & Oliver Hager - Building a cross platform cryptocurrency app
DevCamp Campinas
 
CS150 Assignment 7 Cryptography Date assigned Monday.docx
CS150 Assignment 7 Cryptography  Date assigned Monday.docxCS150 Assignment 7 Cryptography  Date assigned Monday.docx
CS150 Assignment 7 Cryptography Date assigned Monday.docx
faithxdunce63732
 

Semelhante a Scratch Syntax 2 Cmp (18)

introduction to programming using scratch.ppt
introduction to programming using scratch.pptintroduction to programming using scratch.ppt
introduction to programming using scratch.ppt
 
Mini Scratch Unit
Mini Scratch UnitMini Scratch Unit
Mini Scratch Unit
 
Academic_Projects
Academic_ProjectsAcademic_Projects
Academic_Projects
 
Dylan Butler & Oliver Hager - Building a cross platform cryptocurrency app
Dylan Butler & Oliver Hager - Building a cross platform cryptocurrency appDylan Butler & Oliver Hager - Building a cross platform cryptocurrency app
Dylan Butler & Oliver Hager - Building a cross platform cryptocurrency app
 
Arrays and pointers
Arrays and pointersArrays and pointers
Arrays and pointers
 
A TUTORIAL ON POINTERS AND ARRAYS IN C
A TUTORIAL ON POINTERS AND ARRAYS IN CA TUTORIAL ON POINTERS AND ARRAYS IN C
A TUTORIAL ON POINTERS AND ARRAYS IN C
 
C++ for beginners
C++ for beginnersC++ for beginners
C++ for beginners
 
Class #1: Blocks and Vocabulary
Class #1: Blocks and VocabularyClass #1: Blocks and Vocabulary
Class #1: Blocks and Vocabulary
 
CS150 Assignment 7 Cryptography Date assigned Monday.docx
CS150 Assignment 7 Cryptography  Date assigned Monday.docxCS150 Assignment 7 Cryptography  Date assigned Monday.docx
CS150 Assignment 7 Cryptography Date assigned Monday.docx
 
The Ring programming language version 1.9 book - Part 58 of 210
The Ring programming language version 1.9 book - Part 58 of 210The Ring programming language version 1.9 book - Part 58 of 210
The Ring programming language version 1.9 book - Part 58 of 210
 
Char word counter in Python with simple gui - PROJECT
Char word counter in Python with simple gui - PROJECTChar word counter in Python with simple gui - PROJECT
Char word counter in Python with simple gui - PROJECT
 
Presentation - Course about JavaFX
Presentation - Course about JavaFXPresentation - Course about JavaFX
Presentation - Course about JavaFX
 
Python ppt
Python pptPython ppt
Python ppt
 
scratch.pptx
scratch.pptxscratch.pptx
scratch.pptx
 
Intro To C++ - Class 3 - Sample Program
Intro To C++ - Class 3 - Sample ProgramIntro To C++ - Class 3 - Sample Program
Intro To C++ - Class 3 - Sample Program
 
Intro To C++ - Class 03 - An Introduction To C++ Programming, Part II
Intro To C++ - Class 03 - An Introduction To C++ Programming, Part IIIntro To C++ - Class 03 - An Introduction To C++ Programming, Part II
Intro To C++ - Class 03 - An Introduction To C++ Programming, Part II
 
Serious Games + Computer Science = Serious CS
Serious Games + Computer Science = Serious CSSerious Games + Computer Science = Serious CS
Serious Games + Computer Science = Serious CS
 
Day 1( magic camp)(1)
Day 1( magic camp)(1)Day 1( magic camp)(1)
Day 1( magic camp)(1)
 

Mais de Patrick Woessner

Mais de 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
 
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 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
 
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
 
Digital Citizenship and Social Media
Digital Citizenship and Social MediaDigital Citizenship and Social Media
Digital Citizenship and Social Media
 
Fostering Digital Citizenship
Fostering Digital CitizenshipFostering Digital Citizenship
Fostering Digital Citizenship
 
Digital Cartography
Digital CartographyDigital Cartography
Digital Cartography
 
Digital Storytelling
Digital StorytellingDigital Storytelling
Digital Storytelling
 

Último

NewBase 17 May 2024 Energy News issue - 1725 by Khaled Al Awadi_compresse...
NewBase   17 May  2024  Energy News issue - 1725 by Khaled Al Awadi_compresse...NewBase   17 May  2024  Energy News issue - 1725 by Khaled Al Awadi_compresse...
NewBase 17 May 2024 Energy News issue - 1725 by Khaled Al Awadi_compresse...
Khaled Al Awadi
 
Constitution of Company Article of Association
Constitution of Company Article of AssociationConstitution of Company Article of Association
Constitution of Company Article of Association
seri bangash
 
Presentation4 (2) survey responses clearly labelled
Presentation4 (2) survey responses clearly labelledPresentation4 (2) survey responses clearly labelled
Presentation4 (2) survey responses clearly labelled
CaitlinCummins3
 
Powerpoint showing results from tik tok metrics
Powerpoint showing results from tik tok metricsPowerpoint showing results from tik tok metrics
Powerpoint showing results from tik tok metrics
CaitlinCummins3
 

Último (20)

Creative Ideas for Interactive Team Presentations
Creative Ideas for Interactive Team PresentationsCreative Ideas for Interactive Team Presentations
Creative Ideas for Interactive Team Presentations
 
TriStar Gold Corporate Presentation May 2024
TriStar Gold Corporate Presentation May 2024TriStar Gold Corporate Presentation May 2024
TriStar Gold Corporate Presentation May 2024
 
Hyundai capital 2024 1q Earnings release
Hyundai capital 2024 1q Earnings releaseHyundai capital 2024 1q Earnings release
Hyundai capital 2024 1q Earnings release
 
How to refresh to be fit for the future world
How to refresh to be fit for the future worldHow to refresh to be fit for the future world
How to refresh to be fit for the future world
 
Expert Cross-Border Financial Planning Advisors
Expert Cross-Border Financial Planning AdvisorsExpert Cross-Border Financial Planning Advisors
Expert Cross-Border Financial Planning Advisors
 
Guide to Networking Essentials 8th Edition by Greg Tomsho solution manual.doc
Guide to Networking Essentials 8th Edition by Greg Tomsho solution manual.docGuide to Networking Essentials 8th Edition by Greg Tomsho solution manual.doc
Guide to Networking Essentials 8th Edition by Greg Tomsho solution manual.doc
 
NewBase 17 May 2024 Energy News issue - 1725 by Khaled Al Awadi_compresse...
NewBase   17 May  2024  Energy News issue - 1725 by Khaled Al Awadi_compresse...NewBase   17 May  2024  Energy News issue - 1725 by Khaled Al Awadi_compresse...
NewBase 17 May 2024 Energy News issue - 1725 by Khaled Al Awadi_compresse...
 
A Brief Introduction About Jacob Badgett
A Brief Introduction About Jacob BadgettA Brief Introduction About Jacob Badgett
A Brief Introduction About Jacob Badgett
 
tekAura | Desktop Procedure Template (2016)
tekAura | Desktop Procedure Template (2016)tekAura | Desktop Procedure Template (2016)
tekAura | Desktop Procedure Template (2016)
 
Blinkit: Revolutionizing the On-Demand Grocery Delivery Service.pptx
Blinkit: Revolutionizing the On-Demand Grocery Delivery Service.pptxBlinkit: Revolutionizing the On-Demand Grocery Delivery Service.pptx
Blinkit: Revolutionizing the On-Demand Grocery Delivery Service.pptx
 
Constitution of Company Article of Association
Constitution of Company Article of AssociationConstitution of Company Article of Association
Constitution of Company Article of Association
 
How Do Venture Capitalists Make Decisions?
How Do Venture Capitalists Make Decisions?How Do Venture Capitalists Make Decisions?
How Do Venture Capitalists Make Decisions?
 
Exploring-Pipe-Flanges-Applications-Types-and-Benefits.pptx
Exploring-Pipe-Flanges-Applications-Types-and-Benefits.pptxExploring-Pipe-Flanges-Applications-Types-and-Benefits.pptx
Exploring-Pipe-Flanges-Applications-Types-and-Benefits.pptx
 
Presentation4 (2) survey responses clearly labelled
Presentation4 (2) survey responses clearly labelledPresentation4 (2) survey responses clearly labelled
Presentation4 (2) survey responses clearly labelled
 
Stages of Startup Funding - An Explainer
Stages of Startup Funding - An ExplainerStages of Startup Funding - An Explainer
Stages of Startup Funding - An Explainer
 
Global Internal Audit Standards 2024.pdf
Global Internal Audit Standards 2024.pdfGlobal Internal Audit Standards 2024.pdf
Global Internal Audit Standards 2024.pdf
 
Copyright: What Creators and Users of Art Need to Know
Copyright: What Creators and Users of Art Need to KnowCopyright: What Creators and Users of Art Need to Know
Copyright: What Creators and Users of Art Need to Know
 
wagamamaLab presentation @MIT 20240509 IRODORI
wagamamaLab presentation @MIT 20240509 IRODORIwagamamaLab presentation @MIT 20240509 IRODORI
wagamamaLab presentation @MIT 20240509 IRODORI
 
Powerpoint showing results from tik tok metrics
Powerpoint showing results from tik tok metricsPowerpoint showing results from tik tok metrics
Powerpoint showing results from tik tok metrics
 
Raising Seed Capital by Steve Schlafman at RRE Ventures
Raising Seed Capital by Steve Schlafman at RRE VenturesRaising Seed Capital by Steve Schlafman at RRE Ventures
Raising Seed Capital by Steve Schlafman at RRE Ventures
 

Scratch Syntax 2 Cmp

  • 2. 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.
  • 3. 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.
  • 4. 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.
  • 5. 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.
  • 6. Simple Games Simple games use threads and events to create new levels.
  • 8. Homework Complete the Simple Game Project Completed projects need to be submitted via email by the due date.