← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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