← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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