← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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