0% found this document useful (0 votes)
443 views

Lecture 1

The document provides an overview of a Scratch coding class, including: - The class goals of learning new skills, making friends, and having fun. - An introduction to the Scratch 3.0 programming environment and blocks. - Details on creating a Scratch account and uploading assignments. - Lesson plans and objectives for the first two classes on basic movement and animation using blocks like "move" and "turn."

Uploaded by

afsheen faiq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
443 views

Lecture 1

The document provides an overview of a Scratch coding class, including: - The class goals of learning new skills, making friends, and having fun. - An introduction to the Scratch 3.0 programming environment and blocks. - Details on creating a Scratch account and uploading assignments. - Lesson plans and objectives for the first two classes on basic movement and animation using blocks like "move" and "turn."

Uploaded by

afsheen faiq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 35

Scratch

9/10/22
Week 2, Lesson 2
• Should have your Notebook & Tablets for your
Scratch class.

NOTEBOOK should be • Date, Topic, Standards, Lesson Objective


maintained for the should be written in your Notebook for every
SCRATCH Course till lesson .
the end of Year –
Semester 1 &
Semester 2
• Worksheets and Test papers must be glued to
the notebook.
Class Goals
• Learn new skills
• Discover new interests
• Make new friends
• Have fun and support each other
Scratch 3.0
https://scratch.mit.edu
Scratch– UNITS / CLUSTERS

1 Lesson 1 - Think like a computer


2 Lesson 2 - Movement of sprites
3 Lesson 3 -Bouncing, Locating the sprite
4 Lesson 4 -Sound and Pen
5 Lesson 5 -Events and controls
6 Lesson 6 –Operators
Create Account on Scratch Website
https://scratch.mit.edu
• Click on the link in Google Classroom to create your account on
Scratch Website.
• All your projects will be saved in the folder on Scratch website.
• After completing your task in Scratch, you must take a picture
of your work and copy the link in Google Classroom before
turning the assignment in.
• All marking will be done in Google Classroom, not on Scratch
website so don’t forget to upload your work before the period
ends.
Chapter 1 – Think Like a Computer
Saturday, September 10, 2022
Standard (CA:CTE:ICT): Lesson Objectives:
6a Creative Communicator I can differentiate between program and
Students communicate clearly and express programming.
themselves creatively for a variety of purposes
I can find the control to start a Scratch script.
using the platforms, tools, styles, formats and
digital media appropriate to their goals. I can add a new sprite from a file.

Success Criteria: I can delete a sprite form the file.


I can create an animation using Turns and
 I can develop interactive programs using Glide feature.
Scratch 3.0.
Useful Resources
• There are numerous excellent sites for use with Scratch; however, some notable
ones include:

• http://scratch.mit.edu the Scratch home page at MIT

• http://scratched.gse.harvard.edu/ the Scratch Ed site for educators

• http://www.scratch.ie LERO Scratch site


Scratch?

What is Scratch?
Scratch is a computer programming language. It will have
sprites and scripts/programs.

What is Scratch used for?


Scratch is used to make games, animations and applications.

Why should we learn to write programs?


It helps to think, to be creative and builds other relevant skills.
It is one of the important skill in the current digital world.
What is Scratch?
Scratch is a programming language that makes it
easy to create interactive stories, animations,
games, music and art.

Logon to: scratch.mit.edu/sign in and start


exploring
Benefits of Scratch
Program and Programming
• Program: Set of instructions that a computer follows in order
to complete a task
• Coding or Programming means writing step-by-step
instructions that tell the computer what to do.
• It is like a recipe: a set of instructions to tell a cook how to
make a dish.
• Programmers: Programmers create a conversation between
the computer and the user
Computer Programs are Everywhere

Washing Machine

Computer programs controls the


 Different speed cycles in a washing machine
 Time duration for the flow of hot water
Scratch Interface Green
Flag

Stage

Blocks
Palette
Scripts
Area

Sprite List
Sprites
In computer graphics, a sprite is a two-dimensional image or
animation that is used in a Computer Game.

Each sprite has a set of rules that define how it moves and
how it behaves.
Scripts
Games are made by giving sprites a
sequence of rules to follow. These
are called scripts.

Scripts often need to be told to


repeat or loop over and over again,
until something instructs it to stop!
You must start every code with a ‘When clicked’
Snapping Blocks
• When you load Scratch,
your default sprite
(character) will be the
Scratch cat.
• To animate this sprite, you
must drag and drop the
blocks from the Block
Palette into the
Scripts Area.
Making Your Sprite Do Stuff

Snapping these blocks


together will move the
sprite 10 steps while
simultaneously rotating it
15 degrees... when the
sprite on the Stage is
clicked
Deleting Sprites

You can delete your


sprite by right-
clicking on its icon
in the Sprite
List and selecting
delete.
Adding Sprites
• You can add sprites
clicking folder/star
icon above the
Sprite List

• Each sprite has its


own Script Window
Choose Your Background!

• Right now, you have a plain, white background – boring!


• You can also change your background by choosing one
from the Scratch library or creating your own!
Activity
Now, We’re Ready to Program!
Now, you should have a sprite and a background that you’d like to work with!
Chapter 1 – Movement
Saturday, September 10, 2022
Standard (CA:CTE:ICT): Lesson Objectives:
6a Creative Communicator I can differentiate between program and
Students communicate clearly and express programming.
themselves creatively for a variety of purposes
I can find the control to start a Scratch script.
using the platforms, tools, styles, formats and
digital media appropriate to their goals. I can add a new sprite from a file.

Success Criteria: I can delete a sprite form the file.


I can create an animation using Turns and
 I can develop interactive programs using Glide feature.
Scratch 3.0.
Programming In Scratch!
• In the upper, left-hand corner of your Scratch window,
you will see 8 buttons .
• Each of these buttons have programming blocks in those
areas.
• We will first experiment with the Motion blocks.
Motion!
• When you click on the motion button, you will see the
programming blocks that can be used with your sprite.
• Let’s all program our sprites with the same code first,
and then you’ll be allowed to experiment on your own!
Motion!
• Drag out the “move 10 steps” block.

• Change the “10” to “50” by clicking in the block and


typing in 50.
• To see your sprite move 50 pixels to the right, double
click on the block in the Script area. Cool, isn’t it?!
Motion
• You can also set the motion block to move a negative
number of pixels by typing a negative number in the
block.
• This will move your sprite that number of pixels in the
opposite direction.
Can you?
– Move your cat forward 20 steps when you press
the
‘go’ button
– Drag your cat back to where she started using
your mouse
– Delete your ‘script’
– Make your cat move forward 50 steps
– Drag your cat back to where she started and
delete your script
– Move your cat backwards 10 steps.
– Delete your script
– Move your cat backwards 20 steps
Closing:

1. What did we do today?


2. What is one thing that you liked in the class
the most?
3. What did you learn?
Questions?
Let’s Have a
Great Year!

You might also like