← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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