← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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