Myfuture CBC Revision
🏠 Learning Home

πŸ“š Get the Myfuture App and Start Learning
πŸ“± Recommended: Download the Android App
β–Ά Get the Myfuture App on Google Play

πŸ“˜ Revision Notes β€’ πŸ“ Quizzes β€’ πŸ“„ Past Papers

VISUAL PROGRAMMING

Topic: COMMUNICATION β€” Subject: Pre-technical (age 13, Kenya)

What is Visual Programming?

Visual programming uses pictures and blocks instead of many lines of text code. You join blocks together like puzzle pieces to make a program. It is easy to learn and helps you show ideas (algorithms) clearly.

Why is it useful for communication?

  • Shows steps visually β€” classmates can understand your idea faster.
  • Makes programs for stories, games and quizzes that explain things (for example, a lesson about Kenyan counties).
  • Good for teamwork: everyone reads the same visual blocks.

Common terms

Sprite: an object or character (like a person or animal) in the screen.
Block: one visual instruction (e.g., move, say, wait).
Event: what starts the program (e.g., when green flag clicked).
Flowchart: diagram that shows steps in order using shapes.

Simple visual example (Scratch-style)

When green flag clicked
Say "Habari!" for 2 seconds
Ask "What is your name?"
Say "Nice to meet you, (answer)!"

Explanation: When the program starts, the sprite greets ("Habari!"), asks for your name and then replies using the answer. This shows how computers and people can "talk".

Flowchart β€” Greeting program

Start Say "Habari!" Ask "What is your name?"

The flowchart shows the order of steps. Flowcharts are useful when planning a program before making blocks.

Classroom activity (easy, 20–30 minutes)

  1. Open a visual programming tool (Scratch or ScratchJr). If offline, draw blocks on paper.
  2. Create a sprite (e.g., a child, a lion or a dove).
  3. Use blocks: When Green Flag clicked β†’ Say "Jambo!" β†’ Ask "How are you?" β†’ If answer contains "fine", say "Sawa!"
  4. Share your program with a friend and explain every block (practice communication skills!).

Kenyan tip: Make the sprite greet in Kiswahili, English or a local language like Kikuyu, Luo, Kamba or Luhya to practice real-life communication.

Mini project idea (1–2 lessons)

Build a simple quiz about your county (e.g., Nairobi, Kisumu). Use blocks to ask questions and check answers. Display a score at the end. This teaches you how to communicate facts using a program.

Short quiz (test yourself)

  1. What is a sprite?
  2. Name one advantage of visual programming for communication.
  3. List three blocks you would use to make a sprite greet someone and ask their name.
Answers (click to reveal)
  1. A sprite is a character or object on the screen that does actions.
  2. It shows steps clearly so others understand your idea quickly (other good answers: easy to learn, good for teamwork).
  3. Example blocks: Event block (when green flag clicked), Say block, Ask block (and optionally a Wait or If block).

Summary

Visual programming helps students communicate ideas by using pictures and blocks. It is great for making stories, quizzes and games β€” and for working with classmates in Kenyan schools. Try creating a short greeting program today!

Note: Use Scratch, ScratchJr or other block-based tools. If you have no computer, draw the blocks and flowchart on paper β€” you will still be learning how to communicate your program.

When you finish reading, reach the end of the notes and the completion button will appear here.

🧠 Quick 5-question quiz

Test what you have just learned from VISUAL PROGRAMMING . No account is needed to try it. Your attempt is saved only when you submit. After this browser has passed its first human check, returning visits open the quiz directly.

This quick check helps keep automated bots from accessing the quiz.

πŸ“ Practise more questions across this topic

Rate these notes

Sign in to save your rating with your student profile and this device. Your feedback will be kept while you sign in.

⭐ ⭐ ⭐ ⭐ ⭐