← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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