← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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