← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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