← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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