← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

Electronics lesson 22: Input and output pins · Set 324 · 40 questions
TalentJR

Remember (Read in, drive out): Inputs: buttons, knobs, sensors. Outputs: LEDs, buzzers, motors, displays. Digital: HIGH (≈ 5 V) or LOW (0 V) only. Analog: any value in a range. Trace the program: only the LED’s own pin matters, and its last command decides ON or OFF.

NameDateTime takenScore ___ / 40
  1. 1.🔍 Which is the odd one out? (a) a water pump (b) a buzzer (c) a motor (d) a light sensor
  2. 2.🔌 Is a motor an input or an output for a microcontroller? (a) output (b) input
  3. 3.🔌 Is a buzzer an input or an output for a microcontroller? (a) input (b) output
  4. 4.True or false: “a door: open or shut” is a digital signal. (a) True (b) False
  5. 5.🔌 Is a motion sensor an input or an output for a microcontroller? (a) output (b) input
  6. 6.True or false: “how loud a sound is” is an analog signal. (a) True (b) False
  7. 7.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 8 HIGH
    set pin 8 LOW
    set pin 8 HIGH
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  8. 8.True or false: “many values in a range” is a digital signal. (a) False (b) True
  9. 9.📶 Digital or analog: the room temperature? (a) digital (b) analog
  10. 10.Which of these is an input? (a) a buzzer (b) a sound sensor (c) a small display (d) a water pump
  11. 11.True or false: “the room temperature” is an analog signal. (a) False (b) True
  12. 12.🔌 Is a push button an input or an output for a microcontroller? (a) input (b) output
  13. 13.📶 Digital or analog: how bright a room is? (a) digital (b) analog
  14. 14.True or false: “how bright a room is” is a digital signal. (a) False (b) True
  15. 15.🔍 Which is the odd one out? (a) a turning knob (b) a motor (c) a sound sensor (d) a temperature sensor
  16. 16.🔌 Is a water pump an input or an output for a microcontroller? (a) output (b) input
  17. 17.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 7 HIGH
    set pin 8 LOW
    set pin 7 LOW
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  18. 18.Which of these is an output? (a) a motion sensor (b) a sound sensor (c) a push button (d) a speaker
  19. 19.Which of these is an output? (a) a small display (b) a sound sensor (c) a push button (d) a motion sensor
  20. 20.📶 On a 5 V board, a pin set HIGH gives about … (a) 0 V (b) 50 V (c) 230 V (d) 5 V
  21. 21.Which of these is an output? (a) a temperature sensor (b) a buzzer (c) a motion sensor (d) a sound sensor
  22. 22.🔍 Which is the odd one out? (a) a water pump (b) a buzzer (c) a temperature sensor (d) a servo motor
  23. 23.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 7 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  24. 24.True or false: “a tilt switch: on or off” is an analog signal. (a) True (b) False
  25. 25.Which of these is an input? (a) a buzzer (b) a motor (c) a push button (d) an LED
  26. 26.Which of these is an output? (a) an LED (b) a motion sensor (c) a push button (d) a light sensor
  27. 27.🔍 Which is the odd one out? (a) a small display (b) a water pump (c) a sound sensor (d) a speaker
  28. 28.🔍 Which is the odd one out? (a) a small display (b) a turning knob (c) a motor (d) a servo motor
  29. 29.Which of these is an input? (a) a motion sensor (b) a water pump (c) a speaker (d) an LED
  30. 30.🔌 Is a sound sensor an input or an output for a microcontroller? (a) input (b) output
  31. 31.🔌 Is a speaker an input or an output for a microcontroller? (a) output (b) input
  32. 32.Which of these is an input? (a) a keypad (b) an LED (c) a buzzer (d) a speaker
  33. 33.🔍 Which is the odd one out? (a) a sound sensor (b) a keypad (c) a turning knob (d) a speaker
  34. 34.Which of these is an input? (a) a light sensor (b) a water pump (c) a motor (d) a buzzer
  35. 35.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 8 LOW
    set pin 7 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  36. 36.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 8 LOW
    set pin 7 HIGH
    set pin 8 LOW
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  37. 37.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  38. 38.🔍 Which is the odd one out? (a) a water pump (b) an LED (c) a push button (d) a speaker
  39. 39.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 8 HIGH
    set pin 7 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  40. 40.True or false: “many values in a range” is an analog signal. (a) True (b) False

Answer key

  1. a light sensor
  2. output
  3. output
  4. True
  5. input
  6. True
  7. OFF
  8. False
  9. analog
  10. a sound sensor
  11. True
  12. input
  13. analog
  14. False
  15. a motor
  16. output
  17. OFF
  18. a speaker
  19. a small display
  20. 5 V
  21. a buzzer
  22. a temperature sensor
  23. OFF
  24. False
  25. a push button
  26. an LED
  27. a sound sensor
  28. a turning knob
  29. a motion sensor
  30. input
  31. output
  32. a keypad
  33. a speaker
  34. a light sensor
  35. OFF
  36. OFF
  37. ON
  38. a push button
  39. ON
  40. True

Free electronics lessons, practice and worksheets at talentjr.in/electronics-for-kids