Coding: Meaning of Coding and Why You Should Learn to Code Primary 4 (Basic 4) Second Term Week 8 and Week 9 Information Technology – Computer Studies
CODING: MEANING AND WHY YOU SHOULD LEARN TO CODE
Note: Coding is taught in Week 8 and Week 9, spanning two (2) weeks. The lessons should be delivered through practical, hands-on coding activities using age-appropriate coding platforms or applications. Ref: week 10 for more instructions on hands-on coding activities.
INFORMATION TECHNOLOGY (COMPUTER STUDIES)
PRIMARY 4 – SECOND TERM – WEEK 8 AND WEEK 9
THEME – BASIC COMPUTER OPERATIONS
PREVIOUS LESSON – Antivirus: Meaning and Types of Antivirus Primary 4 (Basic 4) Second Term Week 6 Information Technology – Computer Studies
TOPIC – CODING
LEARNING AREA
1. Introduction
2. Meaning of Coding and Why You Should Learn to Code
3. Benefits of Learning Coding and Examples of Coding Applications
4. Simple Coding Tools for Children
5. Weekly Assessment: Test Questions and Answers/Assignment
6. Summary
LEARNING OBJECTIVES
By the end of the lesson, pupils should be able to:
1. Explain the meaning of coding.
2. State the meaning of computer code.
3. Explain why coding is important.
4. State the benefits of learning to code.
5. Develop interest in learning basic coding skills.
ENTRY BEHAVIOUR
Pupils have previously learned about computer programs, programming, and programmers. They learned that computer programs are created by programmers to make computers perform different tasks.
This lesson builds on that knowledge by introducing coding, which is the process of writing the instructions (code) used to create computer programs. Pupils will also learn why coding is an important skill and how it helps in creating software, websites, games, and other computer applications.
INSTRUCTIONAL MATERIALS
The teacher will teach the lesson with the aid of:
1. Computer
2. Projector (if available)
3. Charts showing simple coding examples
4. Whiteboard and marker
5. Pictures of children learning coding
6. Scratch programming environment (if available)
METHOD OF TEACHING
Choose a suitable and appropriate methods for the lessons.
Note – Irrespective of choosing methods of teaching, always introduce an activities that will arouse pupil’s interest or lead them to the lessons.
REFERENCE MATERIALS
1. Scheme of Work
2. 9 – Years Basic Education Curriculum
3. Course Book
4. All Relevant Material
5. Online Information
CONTENT OF THE LESSON
INTRODUCTION
Every computer, mobile phone, website, and game works because someone wrote special instructions for it. These instructions are called code, and the process of writing them is known as coding.
In this lesson, pupils will learn the meaning of coding, the meaning of computer code, and the reasons why learning to code is useful in today’s digital world.
MEANING OF CODING
Coding is the process of writing instructions that tell a computer what to do.
These instructions are written using special programming languages that computers can understand.
MEANING OF COMPUTER CODE
Computer code is a set of instructions written by a programmer for a computer to perform specific tasks.
A computer reads and follows the code step by step to complete a task.
WHY YOU SHOULD LEARN TO CODE
Learning to code is important because it:
1. It elps you solve problems.
2. It develops logical and critical thinking skills.
3. It improves creativity.
4. It helps you create computer programs and games.
5. It prepares you for future careers in technology.
6. It helps you understand how computers and applications work.
7. It builds confidence in using technology.
8. It encourages innovation and invention.
BENEFITS OF CODING
1. It improves problem-solving skills.
2. It develops creativity.
3. It improves logical thinking.
4. It helps create websites and applications.
5. It prepares learners for technology-related careers.
6. It makes it easier to understand computer systems.
7. It encourages teamwork during coding projects.
8. It helps learners become creators of technology instead of only users.
EXAMPLES OF CODING APPLICATIONS
Coding is used to create:
1. Computer Games – Coding is used to create games that people can play on computers, tablets, and mobile phones.
2. Websites – Coding helps create websites that people use to read information, watch videos, shop online, and learn.
3. Mobile Phone Applications (Apps) – Coding is used to develop apps such as WhatsApp, YouTube, calculators, and educational apps.
4. Educational Software – Coding is used to create learning programs that help pupils study subjects like Mathematics, English, and Science.
5. Robots – Coding gives robots instructions on how to move, speak, and perform different tasks.
6. Computer Operating Systems – Coding is used to develop operating systems such as Windows, Android, Linux, and macOS, which help computers and mobile devices function properly.
SIMPLE CODING TOOLS FOR CHILDREN
Children can begin learning coding with simple tools such as:
1. Scratch – A visual programming tool that allows children to create stories, animations, and simple games by dragging and dropping coding blocks.
2. Blockly – A block-based coding platform where children learn programming by connecting colourful blocks instead of typing code.
3. Code.org – An educational website that teaches coding through fun activities, puzzles, and games for beginners.
4. Tynker – A coding platform designed for children to learn programming by creating games, animations, and simple mobile applications.
These tools make learning coding easy, fun, and interactive for young learners.
WEEKLY ASSESSMENT: TEST QUESTIONS AND ANSWERS/ASSIGNMENT
A. Multiple Choice Questions (5 Marks)
1. Coding is the process of ______.
A. drawing pictures
B. writing instructions for a computer
C. printing documents
D. switching off a computer
2. Computer code is a set of ______.
A. games
B. pictures
C. keyboards
D. instructions for a computer
3. Who writes computer code?
A. Doctor
B. Farmer
C. Programmer
D. Driver
4. Which of the following is a coding tool for children?
A. Scratch
B. Microsoft Paint
C. Calculator
D. Notepad
5. Learning coding helps pupils to ______.
A. damage computers
B. solve problems
C. delete files
D. slow down computers
B. Fill in the Blanks (5 Marks)
6. ______ is the process of writing instructions for a computer.
7. A set of instructions written for a computer is called ______.
8. Coding helps develop ______ thinking.
9. ______ is a coding tool designed for children.
10. A person who writes computer code is called a ______.
C. True or False (5 Marks)
11. Coding tells a computer what to do. ______
12. Scratch is a coding tool for beginners. ______
13. Coding improves creativity and problem-solving skills. ______
14. Only adults can learn coding. ______
15. Coding is used to create websites and games. ______
D. Match Column A with Column B (5 Marks)
Column A – Column B
16. Coding – A. Person who writes code
17. Programmer – B. Creates websites and games
18. Scratch – C. Writing computer instructions
19. Computer Code – D. Coding tool for children
20. Coding – E. Set of instructions for a computer
ANSWER KEYS
1. B – Writing instructions for a computer
2. D – Instructions for a computer
3. C – Programmer
4. A – Scratch
5. B – Solve problems
6. Coding
7. computer code
8. logical
9. Scratch
10. programmer
11. True
12. True
13. True
14. False
15. True
16. C – Writing computer instructions
17. A – Person who writes code
18. D – Coding tool for children
19. E – Set of instructions for a computer
20. B – Creates websites and games
SUMMARY
In this lesson, pupils learned that coding is the process of writing instructions that tell a computer what to do. They also learned that computer code is a set of instructions written for a computer to perform specific tasks.
Pupils learned why coding is important. It helps people solve problems, think logically, become creative, and create useful computer programs. They also discovered that learning to code prepares them for future careers in technology.
Furthermore, pupils learned that coding is used to create many things, including:
- Computer games
- Websites
- Mobile phone applications
- Educational software
- Robots
- Computer operating systems
Finally, pupils were introduced to beginner-friendly coding tools such as Scratch, Blockly, Code.org, and Tynker, which make learning coding easy and enjoyable for children.
PRESENTATION
To deliver the lesson, the teacher adopts the following steps:
Step 1: Introduction – The teacher asks pupils if they have ever played a computer game, visited a website, or used a mobile phone application. The teacher explains that all these were created through coding.
Pupils’ Activities: Pupils mention computer games, websites, or apps they know and listen attentively.
Step 2: Meaning of Coding – The teacher explains that coding is the process of writing instructions that tell a computer what to do. The teacher also explains the meaning of computer code as the instructions written for the computer.
Pupils’ Activities: Pupils explain the meaning of coding and computer code in their own words.
Step 3: Why You Should Learn to Code – The teacher discusses the importance of learning coding, explaining that it:
- Develops problem-solving skills.
- Improves logical thinking.
- Encourages creativity.
- Helps create games, websites, and applications.
- Prepares pupils for future technology careers.
Pupils’ Activities: Pupils state reasons why learning coding is important.
Step 4: Examples of What Coding Can Create – The teacher explains that coding is used to create:
- Computer games.
- Websites.
- Mobile phone applications.
- Educational software.
- Robots.
- Computer operating systems.
The teacher shows pictures or demonstrations where available.
Pupils’ Activities: Pupils identify different products created through coding.
Step 5: Coding Tools for Beginners – The teacher introduces beginner-friendly coding tools such as:
- Scratch
- Blockly
- Code.org
- Tynker
The teacher briefly demonstrates Scratch (if available).
Pupils’ Activities: Pupils identify beginner coding tools.
Step 6: Group Activity – The teacher divides the class into four groups and assigns the following activities:
- Group 1: Explain the meaning of coding and computer code.
- Group 2: State five reasons why pupils should learn coding.
- Group 3: List and explain examples of things created through coding.
- Group 4: Identify beginner coding tools and discuss how they help children learn coding.
Each group presents its work before the class.
Pupils’ Activities: Pupils discuss, complete the assigned tasks, and present their findings.
Step 7: Lesson Summary – The teacher reviews the meaning of coding, computer code, the importance of learning coding, and examples of products created through coding.
Pupils’ Activities: Pupils answer oral questions and summarise the lesson.
Step 8: Evaluation – The teacher asks oral and written questions to assess pupils’ understanding of coding, its importance, and its applications.
Pupils’ Activities: Pupils answer the evaluation questions and participate actively in the lesson.
CONCLUSION
To conclude the lesson for the week, the teacher revises the entire lesson and links it to the following week’s lesson.
NEXT LESSON
LESSON EVALUATION
Teacher asks pupils,
1. What is coding?
2. What is computer code?
3. Who writes computer code?
4. State five reasons why you should learn to code.
5. Mention five benefits of learning coding.
6. List five things that can be created through coding.
7. Mention four coding tools for children.
8. Differentiate between coding and computer code.
9. Explain how coding helps people solve problems and create useful computer applications.
10. Demonstrate your understanding by giving an example of something created through coding and explaining how coding makes it work.