← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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