← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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