← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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