← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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