← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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