← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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