← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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