← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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