← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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