← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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