← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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