← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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