← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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