← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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