SlideShare une entreprise Scribd logo
1  sur  25
Scratch for Intermediates
Matthew Parry
CAS Master Teacher
@becsalana
matthew.parry@computingatschool.org.uk
• Teaching
•Trained via GTP in Hampshire
•Shirland Primary School
•Swanwick School and Sports College
•Computing at School Master Teacher
• IT career
•15+ years as Programmer, Designer, Project Manager
•Civil Service, AA, Sony, Satellite TV red button
•COBOL, C, C++, VB, Java, Unix, PCs,
• Earlier
•Home: ZX81, ZX Spectrum
•School: BBC Model B
• To investigate advanced elements of Scratch
• To become familiar with some interfaces to
Scratch
• To plan how to use Scratch across the
curriculum
OBJECTIVES
• To make a timetables quiz ...
TASK
Broadcasts
Sends a message to all sprites and stage
But nothing happens unless sprite responds to the message
Green flag is a broadcast message
What is the difference between ...
and
Why use?
•To get other sprites to do something
•Reuse code
•Splits script into manageable parts
KS2 work with variables and various forms of input and output
Control Blocks
Forever Forever if <condition>
Repeat <#>
If <condition> If <condition> else
What difference do these make to your scripts?
Where would you use them?
KS2 …use sequence, selection, and repetition in programs ; use logical reasoning
to explain how some simple algorithms work
Control Blocks
Wait until <condition>
Repeat until <condition>
What about these? How do they differ?
Where would you use them?
KS2 …use sequence, selection, and repetition in programs ; use logical reasoning
to explain how some simple algorithms work
Control Blocks
Stop script
Stop all
Version 2.0
What different effects do these have?
Where would you use them?
KS2 …use logical reasoning to explain how some simple algorithms work
Variables
Variables
A named area of computer memory
A box that stores data
For something that can change (vary)
Variable for all sprites or Just for a sprite?
What difference does that make?
KS2 work with variables and various forms of input and output
Text Handling
Text
Task
Ask for users name.
Then ask five quiz questions. (Make some of answers numeric)
Keep score of correct answers.
At end display “<name>, you got <score> out of 5”
KS3 ... understand how data of various types (including text, sounds and pictures)
can be represented and manipulated digitally
Validation of Inputs
Validation
To ensure the input is what you want
Why?
Task
For quiz numeric answers make sure you get a number.
Ask for input again if not valid.
KS2 ... work with variables and various forms of input and output
Build Your Own Blocks
Build Your Own Blocks (Scratch 2.0 only)
Why?
To reuse code e.g. validation
What is a Parameter?
What is an Argument?
Task
Make number validation block
Pass in range parameters <lower> and <upper>
Extension: pass in number of digits expected
Variable Monitors
Normal Large
Slider
Max/Min
Where could you use each of these?
•For debugging
•As changeable text/numbers – e.g. Score
•To affect an application e.g. Sphere Maths
KS2 work with variables and various forms of input and output
Lists
Lists
A named area of computer memory
A series of boxes that stores data
For things that can change (vary)
For all or For sprite
Import list – text file from computer
Export list – output to computer
Examples: Haikus ...
KS2 ... work with variables and various forms of input and output
KS3 ... make appropriate use of data structures [for example, lists, tables or arrays]
Tips and Tricks - Help
Help
Website
http://scratch.mit.edu/help/
V1.4
Help Menu
Help Page...
Help Screens...
Right click on block
V2.0
Tips
 at right hand side of script area
Blocks
 ? at top of screen
Tips and Tricks - Comments
Comments
V1.4
Right click in background – “add comment”
Drag comment over block to attach
V2.0
Right click on block – “add comment”
Why use?
Gives clarity to script
Shows understanding
Assessment
KS2 ... use logical reasoning to explain how some simple algorithms work and to
detect and correct errors in algorithms and programs
Tips and Tricks – Sprite Control
Control a sprite
V1.4 – at top of sprite scripts
V2.0 – click next to sprite
What do those icons all do?
Run this script and click them as it runs
Watch x and y and direction ...
V1.4 padlock does same as
V2.0 “can drag in player”
What does blue line on sprite/circle do?
Tips and Tricks - Turbo
Turbo Mode
Speeds up all scripts
V1.4 via edit menu
V2.0 shift click on green flag
When would you use this?
When large scripts
Complex maths
Example - Art
Tips and Tricks - Debugging
Debugging
Single Stepping (V1.4 only)
See which block is being processed
KS1 ... create and debug simple programs
KS2 ... use logical reasoning to explain how some simple algorithms work and to
detect and correct errors in algorithms and programs
Tips and Tricks - Drawing
Perfect shapes (circles and squares)
When drawing hold down shift
Transparency
V1.4 – white and grey squares
V2.0 – red diagonal line
Tips and Tricks – Animated gifs
Animated gifs
V1.4
Drag gif onto costumes tab of an existing sprite
Or import gif onto costumes tab of an existing sprite
V2.0
Create new sprite using gif
New costume is created from each frame
http://heathersanimations.com/index.html
Need an account on http://scratch.mit.edu/ first
V1.4
Upload project to scratch website via Share menu
V2.0
Need to share project
Use “Embed” button below project to create html code
Cut and Paste into website
More information
V1.4
http://wiki.scratch.mit.edu/wiki/Embedding_Projects_(1.4)
V2.0
http://wiki.scratch.mit.edu/wiki/Embedding_Projects
Embed projects in own websites
Interfaces to Scratch
Lego Wedo - education.lego.com
Picoboards (Scratch 1.4) - www.sparkfun.com/products/10311
Kinect2Scratch (Scratch 1.4- scratch.saorog.com/
Scratcher Control for Android - khanning.com/scratchercontrol/
Makey Makey - makeymakey.com/
Resources
Scratch website/forums - scratch.mit.edu/
CAS website - http://community.computingatschool.org.uk/
Scratch website - Lesson Plans & Resources - scratch.ie/home
Derbyshire Computing Share Drive - goo.gl/ucNR17
BOOKS
Learn to Program with Scratch
by Majed Marji
ISBN: 9781593275433
Adventures in Raspberry PI
by Carrie Anne Philbin
ISBN: 9781118751251

Contenu connexe

Tendances

Scratch - Intuitive and Accessible Programming
Scratch - Intuitive and Accessible ProgrammingScratch - Intuitive and Accessible Programming
Scratch - Intuitive and Accessible ProgrammingGigi Gilbert-Igelsrud
 
Computer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessonsComputer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessonsSeniorInfants
 
Scratch Lesson 1 – Basics
Scratch Lesson 1 – BasicsScratch Lesson 1 – Basics
Scratch Lesson 1 – BasicsDavid Oromaner
 
Introduction to Scratch Programming
Introduction to Scratch ProgrammingIntroduction to Scratch Programming
Introduction to Scratch ProgrammingStorytimeSteph
 
Scratch programming
Scratch programmingScratch programming
Scratch programmingYvonieDoria
 
Scratch parrot shoot game
Scratch   parrot shoot gameScratch   parrot shoot game
Scratch parrot shoot gamemrsharma2015
 
Programming in scratch
Programming in scratchProgramming in scratch
Programming in scratchHussam Mostafa
 
Introduction to scratch
Introduction to scratchIntroduction to scratch
Introduction to scratchemreyz
 
Introduction to scratch programming
Introduction to scratch programmingIntroduction to scratch programming
Introduction to scratch programmingPatrick John McGee
 
The Adventures of Mike, How to Use Scratch 2.0 to Program Your Game
The Adventures of Mike, How to Use Scratch 2.0 to Program Your GameThe Adventures of Mike, How to Use Scratch 2.0 to Program Your Game
The Adventures of Mike, How to Use Scratch 2.0 to Program Your GameUna Tao
 
Scratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint EditorScratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint EditorDavid Oromaner
 

Tendances (20)

Intro To Scratch
Intro To ScratchIntro To Scratch
Intro To Scratch
 
Scratch Programming
Scratch ProgrammingScratch Programming
Scratch Programming
 
Scratch - Intuitive and Accessible Programming
Scratch - Intuitive and Accessible ProgrammingScratch - Intuitive and Accessible Programming
Scratch - Intuitive and Accessible Programming
 
Computer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessonsComputer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessons
 
Scratch Basics
Scratch BasicsScratch Basics
Scratch Basics
 
Scratch
ScratchScratch
Scratch
 
Scratch Lesson 1 – Basics
Scratch Lesson 1 – BasicsScratch Lesson 1 – Basics
Scratch Lesson 1 – Basics
 
scratch-3-tutorial.pdf
scratch-3-tutorial.pdfscratch-3-tutorial.pdf
scratch-3-tutorial.pdf
 
Introduction to Scratch Programming
Introduction to Scratch ProgrammingIntroduction to Scratch Programming
Introduction to Scratch Programming
 
Scratch programming
Scratch programmingScratch programming
Scratch programming
 
Scratch Lesson 1
Scratch Lesson 1Scratch Lesson 1
Scratch Lesson 1
 
Scratch parrot shoot game
Scratch   parrot shoot gameScratch   parrot shoot game
Scratch parrot shoot game
 
Programming in scratch
Programming in scratchProgramming in scratch
Programming in scratch
 
Introduction to scratch
Introduction to scratchIntroduction to scratch
Introduction to scratch
 
Scratch Animation
Scratch AnimationScratch Animation
Scratch Animation
 
Scratch Lesson 2
Scratch Lesson 2Scratch Lesson 2
Scratch Lesson 2
 
Introduction to scratch programming
Introduction to scratch programmingIntroduction to scratch programming
Introduction to scratch programming
 
The Adventures of Mike, How to Use Scratch 2.0 to Program Your Game
The Adventures of Mike, How to Use Scratch 2.0 to Program Your GameThe Adventures of Mike, How to Use Scratch 2.0 to Program Your Game
The Adventures of Mike, How to Use Scratch 2.0 to Program Your Game
 
Scratch Lesson Plan
Scratch Lesson PlanScratch Lesson Plan
Scratch Lesson Plan
 
Scratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint EditorScratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint Editor
 

Similaire à Scratch for intermediates course

Hacking the Kinect with GAFFTA Day 1
Hacking the Kinect with GAFFTA Day 1Hacking the Kinect with GAFFTA Day 1
Hacking the Kinect with GAFFTA Day 1benDesigning
 
Open frameworks 101_fitc
Open frameworks 101_fitcOpen frameworks 101_fitc
Open frameworks 101_fitcbenDesigning
 
Core .NET Framework 4.0 Enhancements
Core .NET Framework 4.0 EnhancementsCore .NET Framework 4.0 Enhancements
Core .NET Framework 4.0 EnhancementsRobert MacLean
 
Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2Daniel Egan
 
Introduction-to-C-Part-1.pdf
Introduction-to-C-Part-1.pdfIntroduction-to-C-Part-1.pdf
Introduction-to-C-Part-1.pdfAnassElHousni
 
Introduction to programming - class 2
Introduction to programming - class 2Introduction to programming - class 2
Introduction to programming - class 2Paul Brebner
 
A Lap Around Visual Studio 2010
A Lap Around Visual Studio 2010A Lap Around Visual Studio 2010
A Lap Around Visual Studio 2010Abram John Limpin
 
Designing A Project Using Java Programming
Designing A Project Using Java ProgrammingDesigning A Project Using Java Programming
Designing A Project Using Java ProgrammingKaty Allen
 
Visual basic 6.0
Visual basic 6.0Visual basic 6.0
Visual basic 6.0Aarti P
 
01 Database Management (re-uploaded)
01 Database Management (re-uploaded)01 Database Management (re-uploaded)
01 Database Management (re-uploaded)bluejayjunior
 
Ppt on visual basics
Ppt on visual basicsPpt on visual basics
Ppt on visual basicsyounganand
 
Linq To The Enterprise
Linq To The EnterpriseLinq To The Enterprise
Linq To The EnterpriseDaniel Egan
 
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docxBTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docxAASTHA76
 
COM 211 PRESENTATION.pptx
COM 211 PRESENTATION.pptxCOM 211 PRESENTATION.pptx
COM 211 PRESENTATION.pptxAnasYunusa
 
Getting Started in Custom Programming for Talent Sourcing
Getting Started in Custom Programming for Talent SourcingGetting Started in Custom Programming for Talent Sourcing
Getting Started in Custom Programming for Talent SourcingGlenn Gutmacher
 
C# 101: Intro to Programming with C#
C# 101: Intro to Programming with C#C# 101: Intro to Programming with C#
C# 101: Intro to Programming with C#Hawkman Academy
 
Linq 1224887336792847 9
Linq 1224887336792847 9Linq 1224887336792847 9
Linq 1224887336792847 9google
 

Similaire à Scratch for intermediates course (20)

Hacking the Kinect with GAFFTA Day 1
Hacking the Kinect with GAFFTA Day 1Hacking the Kinect with GAFFTA Day 1
Hacking the Kinect with GAFFTA Day 1
 
Open frameworks 101_fitc
Open frameworks 101_fitcOpen frameworks 101_fitc
Open frameworks 101_fitc
 
Core .NET Framework 4.0 Enhancements
Core .NET Framework 4.0 EnhancementsCore .NET Framework 4.0 Enhancements
Core .NET Framework 4.0 Enhancements
 
Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2Daniel Egan Msdn Tech Days Oc Day2
Daniel Egan Msdn Tech Days Oc Day2
 
Introduction-to-C-Part-1.pdf
Introduction-to-C-Part-1.pdfIntroduction-to-C-Part-1.pdf
Introduction-to-C-Part-1.pdf
 
Introduction to programming - class 2
Introduction to programming - class 2Introduction to programming - class 2
Introduction to programming - class 2
 
A Lap Around Visual Studio 2010
A Lap Around Visual Studio 2010A Lap Around Visual Studio 2010
A Lap Around Visual Studio 2010
 
Designing A Project Using Java Programming
Designing A Project Using Java ProgrammingDesigning A Project Using Java Programming
Designing A Project Using Java Programming
 
Visual basic 6.0
Visual basic 6.0Visual basic 6.0
Visual basic 6.0
 
Visual basic
Visual basicVisual basic
Visual basic
 
01 Database Management (re-uploaded)
01 Database Management (re-uploaded)01 Database Management (re-uploaded)
01 Database Management (re-uploaded)
 
Ppt on visual basics
Ppt on visual basicsPpt on visual basics
Ppt on visual basics
 
Linq To The Enterprise
Linq To The EnterpriseLinq To The Enterprise
Linq To The Enterprise
 
ELAVARASAN.pdf
ELAVARASAN.pdfELAVARASAN.pdf
ELAVARASAN.pdf
 
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docxBTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
 
COM 211 PRESENTATION.pptx
COM 211 PRESENTATION.pptxCOM 211 PRESENTATION.pptx
COM 211 PRESENTATION.pptx
 
Getting Started in Custom Programming for Talent Sourcing
Getting Started in Custom Programming for Talent SourcingGetting Started in Custom Programming for Talent Sourcing
Getting Started in Custom Programming for Talent Sourcing
 
C# 101: Intro to Programming with C#
C# 101: Intro to Programming with C#C# 101: Intro to Programming with C#
C# 101: Intro to Programming with C#
 
Ms vb
Ms vbMs vb
Ms vb
 
Linq 1224887336792847 9
Linq 1224887336792847 9Linq 1224887336792847 9
Linq 1224887336792847 9
 

Dernier

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 

Dernier (20)

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 

Scratch for intermediates course

  • 1. Scratch for Intermediates Matthew Parry CAS Master Teacher @becsalana matthew.parry@computingatschool.org.uk
  • 2. • Teaching •Trained via GTP in Hampshire •Shirland Primary School •Swanwick School and Sports College •Computing at School Master Teacher • IT career •15+ years as Programmer, Designer, Project Manager •Civil Service, AA, Sony, Satellite TV red button •COBOL, C, C++, VB, Java, Unix, PCs, • Earlier •Home: ZX81, ZX Spectrum •School: BBC Model B
  • 3. • To investigate advanced elements of Scratch • To become familiar with some interfaces to Scratch • To plan how to use Scratch across the curriculum OBJECTIVES
  • 4. • To make a timetables quiz ... TASK
  • 5. Broadcasts Sends a message to all sprites and stage But nothing happens unless sprite responds to the message Green flag is a broadcast message What is the difference between ... and Why use? •To get other sprites to do something •Reuse code •Splits script into manageable parts KS2 work with variables and various forms of input and output
  • 6. Control Blocks Forever Forever if <condition> Repeat <#> If <condition> If <condition> else What difference do these make to your scripts? Where would you use them? KS2 …use sequence, selection, and repetition in programs ; use logical reasoning to explain how some simple algorithms work
  • 7. Control Blocks Wait until <condition> Repeat until <condition> What about these? How do they differ? Where would you use them? KS2 …use sequence, selection, and repetition in programs ; use logical reasoning to explain how some simple algorithms work
  • 8. Control Blocks Stop script Stop all Version 2.0 What different effects do these have? Where would you use them? KS2 …use logical reasoning to explain how some simple algorithms work
  • 9. Variables Variables A named area of computer memory A box that stores data For something that can change (vary) Variable for all sprites or Just for a sprite? What difference does that make? KS2 work with variables and various forms of input and output
  • 10. Text Handling Text Task Ask for users name. Then ask five quiz questions. (Make some of answers numeric) Keep score of correct answers. At end display “<name>, you got <score> out of 5” KS3 ... understand how data of various types (including text, sounds and pictures) can be represented and manipulated digitally
  • 11. Validation of Inputs Validation To ensure the input is what you want Why? Task For quiz numeric answers make sure you get a number. Ask for input again if not valid. KS2 ... work with variables and various forms of input and output
  • 12. Build Your Own Blocks Build Your Own Blocks (Scratch 2.0 only) Why? To reuse code e.g. validation What is a Parameter? What is an Argument? Task Make number validation block Pass in range parameters <lower> and <upper> Extension: pass in number of digits expected
  • 13. Variable Monitors Normal Large Slider Max/Min Where could you use each of these? •For debugging •As changeable text/numbers – e.g. Score •To affect an application e.g. Sphere Maths KS2 work with variables and various forms of input and output
  • 14. Lists Lists A named area of computer memory A series of boxes that stores data For things that can change (vary) For all or For sprite Import list – text file from computer Export list – output to computer Examples: Haikus ... KS2 ... work with variables and various forms of input and output KS3 ... make appropriate use of data structures [for example, lists, tables or arrays]
  • 15. Tips and Tricks - Help Help Website http://scratch.mit.edu/help/ V1.4 Help Menu Help Page... Help Screens... Right click on block V2.0 Tips  at right hand side of script area Blocks  ? at top of screen
  • 16. Tips and Tricks - Comments Comments V1.4 Right click in background – “add comment” Drag comment over block to attach V2.0 Right click on block – “add comment” Why use? Gives clarity to script Shows understanding Assessment KS2 ... use logical reasoning to explain how some simple algorithms work and to detect and correct errors in algorithms and programs
  • 17. Tips and Tricks – Sprite Control Control a sprite V1.4 – at top of sprite scripts V2.0 – click next to sprite What do those icons all do? Run this script and click them as it runs Watch x and y and direction ... V1.4 padlock does same as V2.0 “can drag in player” What does blue line on sprite/circle do?
  • 18. Tips and Tricks - Turbo Turbo Mode Speeds up all scripts V1.4 via edit menu V2.0 shift click on green flag When would you use this? When large scripts Complex maths Example - Art
  • 19. Tips and Tricks - Debugging Debugging Single Stepping (V1.4 only) See which block is being processed KS1 ... create and debug simple programs KS2 ... use logical reasoning to explain how some simple algorithms work and to detect and correct errors in algorithms and programs
  • 20. Tips and Tricks - Drawing Perfect shapes (circles and squares) When drawing hold down shift Transparency V1.4 – white and grey squares V2.0 – red diagonal line
  • 21. Tips and Tricks – Animated gifs Animated gifs V1.4 Drag gif onto costumes tab of an existing sprite Or import gif onto costumes tab of an existing sprite V2.0 Create new sprite using gif New costume is created from each frame http://heathersanimations.com/index.html
  • 22. Need an account on http://scratch.mit.edu/ first V1.4 Upload project to scratch website via Share menu V2.0 Need to share project Use “Embed” button below project to create html code Cut and Paste into website More information V1.4 http://wiki.scratch.mit.edu/wiki/Embedding_Projects_(1.4) V2.0 http://wiki.scratch.mit.edu/wiki/Embedding_Projects Embed projects in own websites
  • 23. Interfaces to Scratch Lego Wedo - education.lego.com Picoboards (Scratch 1.4) - www.sparkfun.com/products/10311 Kinect2Scratch (Scratch 1.4- scratch.saorog.com/ Scratcher Control for Android - khanning.com/scratchercontrol/ Makey Makey - makeymakey.com/
  • 24. Resources Scratch website/forums - scratch.mit.edu/ CAS website - http://community.computingatschool.org.uk/ Scratch website - Lesson Plans & Resources - scratch.ie/home Derbyshire Computing Share Drive - goo.gl/ucNR17
  • 25. BOOKS Learn to Program with Scratch by Majed Marji ISBN: 9781593275433 Adventures in Raspberry PI by Carrie Anne Philbin ISBN: 9781118751251