← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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