← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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