← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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