← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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