← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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