← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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