← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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