Computer · lesson 27 of 30 · free

Block coding basics — Computer worksheet

In block coding we make programs by snapping blocks together like jigsaw pieces. A sprite is a character that moves on the stage. Event blocks start the code (when a key is pressed), motion blocks move and turn the sprite, sound blocks play sounds, if blocks check a condition, and loop blocks repeat steps. A loop that repeats 4 times a move of 10 steps moves the sprite 4 × 10 = 40 steps.

▶ Watch how it works

Got it? Practise ↓

Remember

Times × amount — “a loop repeats the blocks inside it — multiply to find the total”

  1. Event = when something happens; motion = move or turn; sound = play a sound; if = check a condition.
  2. A loop repeats the blocks inside it: total = times × amount.
  3. repeat N times [move, turn 360 ÷ N degrees] draws a shape with N sides.

Use it for: Class 5 coding lessons, making a sprite move or draw a shape, and simple animation projects.

Worked example: 🧱 A sprite runs: repeat 4 times [ move 10 steps ]. How many steps does it move in all? → 40

  1. The loop runs the move block 4 times.
  2. 4 × 10 = 40 steps.

Check: 10 + 10 + 10 + 10 = 40 ✓

▶ Watch it animated

✏️ Practice

Read the question, think about the computer at home or school, then tap your answer. Stuck? Press “Show me how”.

Right: 0 · Tried: 0

🏁 Lesson 27 test

20 questions. Check each answer, then go to the next one. Get 16 or more right to pass.

🏅 Sign in with Google to earn the 🧱 Block Coder badge when you pass — and a certificate when you finish all 6 lessons of Part 5 · Class 5 Computer. You can still take the test without signing in.

🖨️ Class 5 Computer Worksheet: Block Coding

✨ Free AI tutor

Ask the AI tutor about this lesson

Why does it work? When should you use it? Ask in English, मराठी or हिंदी.

Sign in with Google to ask Free — 20 questions a day.

👩‍🏫 Computer classes near you — online or at home

Prefer a real teacher? TalentJR teachers take live online classes anywhere in India and visit homes in selected cities. Tell us what you need and our team will call you with timings and fees.

Live online classesSmall groups or 1:1 with a teacher, from home, any city.
Teacher at homeA TalentJR teacher visits your home (selected cities).
At a centreClasses at a TalentJR partner centre near you, where available.
Badges, certificates & gifts A badge for every lesson you pass, a certificate for every part you finish, plus TalentJR Points for daily practice. Typing game Practise the keyboard — catch the falling words.