← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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