← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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