← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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