← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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