← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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