← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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