← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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