← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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