← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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