← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

Computer lesson 27: Block coding basics · Set 24 · 40 questions
TalentJR

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

NameDateTime takenScore ___ / 40
  1. 1.🧱 A sprite draws a shape: repeat 5 times [ move 50 steps, turn 72 degrees ]. How many sides does the shape have?
  2. 2.Which of these is an if block? (a) glide to the edge (b) if touching the wall (c) turn right 90 degrees (d) repeat 4 times
  3. 3.🧱 A sprite runs: repeat 3 times [ repeat 5 times [ play a drum beat ] ]. How many drum beats are played?
  4. 4.🧱 What kind of block is “play a drum beat”? (a) a sound block (b) an if block (c) an event block (d) a motion block
  5. 5.🧱 What kind of block is “glide to the edge”? (a) an if block (b) a loop block (c) a motion block (d) an event block
  6. 6.🔍 Which is the odd one out? (a) move 10 steps (b) turn right 90 degrees (c) glide to the edge (d) play a drum beat
  7. 7.Which of these is a loop block? (a) repeat forever (b) set volume to 50% (c) play a drum beat (d) if score is 10
  8. 8.🧱 A sprite runs: repeat 6 times [ move 40 steps ]. How many steps does it move in all?
  9. 9.🐱 What do we call a character that moves on the stage in block coding? (a) a sprite (b) a folder (c) a pixel (d) a cursor
  10. 10.🧱 What kind of block is “when a key is pressed”? (a) a motion block (b) an event block (c) a loop block (d) an if block
  11. 11.🔁 Which block repeats steps again and again? (a) a sound block (b) an event block (c) a motion block (d) a loop block
  12. 12.🔍 Which is the odd one out? (a) play a drum beat (b) play a beep (c) set volume to 50% (d) if touching the wall
  13. 13.🔍 Which is the odd one out? (a) when the program starts (b) when sprite is clicked (c) turn right 90 degrees (d) when a key is pressed
  14. 14.🧱 In block coding, we join blocks like ___. (a) wet clay (b) jigsaw puzzle pieces (c) sand (d) ice cubes
  15. 15.🧱 A sprite draws a shape: repeat 12 times [ move 50 steps, turn 30 degrees ]. How many sides does the shape have?
  16. 16.🧱 A sprite runs: repeat 4 times [ repeat 5 times [ play a drum beat ] ]. How many drum beats are played?
  17. 17.🧱 A sprite runs: repeat 4 times [ repeat 4 times [ play a drum beat ] ]. How many drum beats are played?
  18. 18.🔍 Which is the odd one out? (a) repeat forever (b) when the program starts (c) repeat 4 times (d) repeat until done
  19. 19.🧱 A sprite draws a shape: repeat 9 times [ move 50 steps, turn 40 degrees ]. How many sides does the shape have?
  20. 20.🧱 What kind of block is “if score is 10”? (a) an if block (b) a sound block (c) a loop block (d) an event block
  21. 21.🧱 A sprite runs: repeat 2 times [ repeat 5 times [ play a drum beat ] ]. How many drum beats are played?
  22. 22.🔍 Which is the odd one out? (a) repeat until done (b) set volume to 50% (c) repeat forever (d) repeat 4 times
  23. 23.🧱 What kind of block is “when the program starts”? (a) an if block (b) an event block (c) a motion block (d) a loop block
  24. 24.🧱 What kind of block is “if touching the wall”? (a) a loop block (b) an if block (c) a motion block (d) a sound block
  25. 25.🧱 A sprite draws a shape: repeat 6 times [ move 50 steps, turn 60 degrees ]. How many sides does the shape have?
  26. 26.🔍 Which is the odd one out? (a) when the program starts (b) when sprite is clicked (c) when a key is pressed (d) repeat forever
  27. 27.🔍 Which is the odd one out? (a) play a beep (b) play a drum beat (c) glide to the edge (d) set volume to 50%
  28. 28.🧱 What kind of block is “repeat 4 times”? (a) a motion block (b) an if block (c) an event block (d) a loop block
  29. 29.🔍 Which is the odd one out? (a) glide to the edge (b) when sprite is clicked (c) turn right 90 degrees (d) move 10 steps
  30. 30.Which of these is an event block? (a) set volume to 50% (b) when sprite is clicked (c) move 10 steps (d) glide to the edge
  31. 31.Which of these is a motion block? (a) when a key is pressed (b) if the key is down (c) glide to the edge (d) when sprite is clicked
  32. 32.🔍 Which is the odd one out? (a) if the key is down (b) when a key is pressed (c) when the program starts (d) when sprite is clicked
  33. 33.🔍 Which is the odd one out? (a) when sprite is clicked (b) when a key is pressed (c) move 10 steps (d) when the program starts
  34. 34.🔍 Which is the odd one out? (a) play a beep (b) play a drum beat (c) set volume to 50% (d) when a key is pressed
  35. 35.🧱 A sprite runs: repeat 2 times [ move 20 steps ]. How many steps does it move in all?
  36. 36.🧱 A sprite runs: repeat 9 times [ move 40 steps ]. How many steps does it move in all?
  37. 37.Which of these is an if block? (a) play a beep (b) if score is 10 (c) turn right 90 degrees (d) when sprite is clicked
  38. 38.🧱 What kind of block is “repeat until done”? (a) an if block (b) a loop block (c) a sound block (d) a motion block
  39. 39.🧱 What kind of block is “play a beep”? (a) an event block (b) a sound block (c) an if block (d) a loop block
  40. 40.🧱 What kind of block is “when sprite is clicked”? (a) a motion block (b) a sound block (c) a loop block (d) an event block

Answer key

  1. 5
  2. if touching the wall
  3. 15
  4. a sound block
  5. a motion block
  6. play a drum beat
  7. repeat forever
  8. 240
  9. a sprite
  10. an event block
  11. a loop block
  12. if touching the wall
  13. turn right 90 degrees
  14. jigsaw puzzle pieces
  15. 12
  16. 20
  17. 16
  18. when the program starts
  19. 9
  20. an if block
  21. 10
  22. set volume to 50%
  23. an event block
  24. an if block
  25. 6
  26. repeat forever
  27. glide to the edge
  28. a loop block
  29. when sprite is clicked
  30. when sprite is clicked
  31. glide to the edge
  32. if the key is down
  33. move 10 steps
  34. when a key is pressed
  35. 40
  36. 360
  37. if score is 10
  38. a loop block
  39. a sound block
  40. an event block

Free computer lessons, practice and worksheets at talentjr.in/computer-worksheets