← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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