SlideShare uma empresa Scribd logo
1 de 7
Scratch Syntax: Part 1 CMP
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.
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: When Construct: Instruct a sprite to do something when an event occurs:
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.

Mais conteúdo relacionado

Destaque

Reason Lesson 2 – Drum Samples
Reason Lesson 2 – Drum SamplesReason Lesson 2 – Drum Samples
Reason Lesson 2 – Drum SamplesDavid Oromaner
 
Reason Lesson 3 - Adding Intrument Parts
Reason Lesson 3 - Adding Intrument PartsReason Lesson 3 - Adding Intrument Parts
Reason Lesson 3 - Adding Intrument PartsDavid Oromaner
 
Lesson 1: scratch basics
Lesson 1: scratch basicsLesson 1: scratch basics
Lesson 1: scratch basicsjonathanbyrne
 
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
 
Creative Teaching with Scratch 2010
Creative Teaching with Scratch 2010Creative Teaching with Scratch 2010
Creative Teaching with Scratch 2010Douglas Kiang
 
Programming with Scratch
Programming with ScratchProgramming with Scratch
Programming with ScratchCort1026
 
Scratch project ideas
Scratch project ideasScratch project ideas
Scratch project ideasDavid Noble
 
Programming in scratch
Programming in scratchProgramming in scratch
Programming in scratchHussam Mostafa
 
Scratch in the Classroom
Scratch in the ClassroomScratch in the Classroom
Scratch in the ClassroomDarrel Branson
 
Creative Teaching with Scratch
Creative Teaching with ScratchCreative Teaching with Scratch
Creative Teaching with ScratchDouglas Kiang
 

Destaque (20)

Reason Lesson 2 – Drum Samples
Reason Lesson 2 – Drum SamplesReason Lesson 2 – Drum Samples
Reason Lesson 2 – Drum Samples
 
Reason Lesson 3 - Adding Intrument Parts
Reason Lesson 3 - Adding Intrument PartsReason Lesson 3 - Adding Intrument Parts
Reason Lesson 3 - Adding Intrument Parts
 
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 3
Scratch Lesson 3Scratch Lesson 3
Scratch Lesson 3
 
Scratch Lesson 6
Scratch Lesson 6Scratch Lesson 6
Scratch Lesson 6
 
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
 
Scratch in the Classroom
Scratch in the ClassroomScratch in the Classroom
Scratch in the Classroom
 
Creative Teaching with Scratch
Creative Teaching with ScratchCreative Teaching with Scratch
Creative Teaching with Scratch
 

Mais de 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
 
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 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
 
Digital Citizenship and Social Media
Digital Citizenship and Social MediaDigital Citizenship and Social Media
Digital Citizenship and Social MediaPatrick Woessner
 
Fostering Digital Citizenship
Fostering Digital CitizenshipFostering Digital Citizenship
Fostering Digital CitizenshipPatrick 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

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 

Último (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 

Scratch Syntax 1 Cmp

  • 2. 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.
  • 3. 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.
  • 4. Conditions If Construct: Instruct a sprite to say hello only if, say, the user has depressed the mouse button: When Construct: Instruct a sprite to do something when an event occurs:
  • 5. 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.
  • 6. Follow Me Follow Me applet
  • 7. 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.