← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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