← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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