← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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