← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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