TO
Session 1:
T
Introduction to
Programming
Objectives
• Understanding programming
• Learn basic programming concepts
• Explore simple tools to get started (e.g.,
Scratch, Python)
• Discover how to introduce coding to students
What is
programming
• Giving instructions to a computer to
perform tasks
• Like
Why giving a recipe
Teach to a chef
Programming in
• Programming = Problem-solving +
Creativity Schools?
• Improves problem-solving
skills
• Encourages logical thinking
• Prepares students for future
careers
Key Programming
Terms
• Algorithm – Step-by-step
instructions
• Program – A written code that
Types of Programming
performs tasks
• Bug – An error in your code
Languages
• Debugging – Fixing those errors
• Block-based: Scratch, Blockly, MIT
app inventor
• Text-based: Python, JavaScript
• Visual: Easy for beginners
• Text: More powerful and flexible
1.Minecr
Block-based Programming
aft
2. MIT app 3.
inventor Scratch
Text-Based Programming Languages
Tour of the Scratch Interface
1.2.1. Scratch Environment
Overview
Play
Stop
Resize
controls
Stage
Control Sprites
Types
Blocks Coding
Area
1.2.2. Scratch Interface Elements and
Terminologies
ITEM DESCRIPTION
Individual units of code representing specific commands or actions that can be
Blocks
combined and arranged to create functional programs.
Coding Area Where you write and arrange your code blocks to create programs.
The method or mechanism used to direct the behaviour of a program or elements
Control Type
within it.
Resize Control Allows you to adjust the dimensions of an object or window.
Play Initiates the execution of a program or action.
Stop Stop the execution of a program or action.
Stage The main area where your programs are executed and visualized.
Interactive objects or characters that can be programmed to perform actions or
Sprites
behaviours.
1.2.3. Creating your first project
1. Click File tab
2. A dropdown
menu will appear.
Now click on
New.
3. A fresh working space will appear as
shown
above, with a cat sprite added.
1.2.4. Saving your project
1. Click on the File tab,
for a dropdown menu to
appear.
2. Select the
Save to
Your computer
option
3. A Save as dialog will appear. Fill in
the file name then click Save.
References
https://scratch.mit.edu/educators/
https://www.create-learn.us/blog/scratch-exercises-for-kids/
https://www.sean.co.uk/downloads/2017files/Scratch-in-Easy-Steps-PDF-Sa
mpler.pdf
https://www.youtube.com/watch?v=c2z-9zfQ7I8
https://www.youtube.com/watch?v=HpGU96ooK_o
https://www.youtube.com/watch?v=sIbJHrsPL4M
Next:
Understanding Sprites and
Backdrops