SlideShare ist ein Scribd-Unternehmen logo
1 von 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.

Weitere ähnliche Inhalte

Andere mochten auch

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
 

Andere mochten auch (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
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 

Kürzlich hochgeladen (20)

Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 

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.