← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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