← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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