← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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