← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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