← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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