← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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