← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

Electronics lesson 22: Input and output pins · Set 819 · 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 servo motor (b) a water pump (c) a buzzer (d) a push button
  2. 2.True or false: “many values in a range” is a digital signal. (a) True (b) False
  3. 3.Which of these is an input? (a) a small display (b) a servo motor (c) an LED (d) a turning knob
  4. 4.📶 A pin set LOW gives about … (a) 1.5 V (b) 0 V (c) 9 V (d) 5 V
  5. 5.🔍 Which is the odd one out? (a) a water pump (b) a servo motor (c) a keypad (d) an LED
  6. 6.Which of these is an output? (a) a turning knob (b) a temperature sensor (c) a motion sensor (d) a buzzer
  7. 7.🔌 Is a motion sensor an input or an output for a microcontroller? (a) input (b) output
  8. 8.Which of these is an input? (a) an LED (b) a water pump (c) a small display (d) a light sensor
  9. 9.🔍 Which is the odd one out? (a) a temperature sensor (b) a sound sensor (c) a servo motor (d) a light sensor
  10. 10.True or false: “a tilt switch: on or off” is an analog signal. (a) True (b) False
  11. 11.📶 How many states can a digital pin have? (a) one (b) two (c) a thousand (d) ten
  12. 12.💡 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 HIGH
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  13. 13.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 8 LOW
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  14. 14.True or false: “a tilt switch: on or off” is a digital signal. (a) False (b) True
  15. 15.True or false: “a door: open or shut” is a digital signal. (a) False (b) True
  16. 16.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 8 LOW
    set pin 7 HIGH
    set pin 7 LOW
    set pin 7 HIGH
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  17. 17.💡 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 8 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  18. 18.True or false: “a door: open or shut” is an analog signal. (a) False (b) True
  19. 19.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 8 LOW
    set pin 7 LOW
    set pin 8 LOW
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  20. 20.True or false: “a button: pressed or not” is a digital signal. (a) True (b) False
  21. 21.📶 On a 5 V board, a pin set HIGH gives about … (a) 0 V (b) 5 V (c) 230 V (d) 50 V
  22. 22.🔌 Is a speaker an input or an output for a microcontroller? (a) output (b) input
  23. 23.Which of these is an output? (a) a keypad (b) a push button (c) a speaker (d) a sound sensor
  24. 24.📶 Digital or analog: how loud a sound is? (a) digital (b) analog
  25. 25.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 8 HIGH
    set pin 7 LOW
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  26. 26.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 8 HIGH
    set pin 7 LOW
    set pin 8 LOW
    set pin 8 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  27. 27.🔌 Is a sound sensor an input or an output for a microcontroller? (a) output (b) input
  28. 28.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 7 HIGH
    set pin 7 HIGH
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  29. 29.🔍 Which is the odd one out? (a) an LED (b) a motor (c) a servo motor (d) a turning knob
  30. 30.📶 Digital or analog: a knob turned part way? (a) digital (b) analog
  31. 31.True or false: “HIGH or LOW only” is a digital signal. (a) False (b) True
  32. 32.🔌 Is a light sensor an input or an output for a microcontroller? (a) output (b) input
  33. 33.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 7 HIGH
    set pin 7 LOW
    set pin 8 LOW
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  34. 34.🔌 Is a servo motor an input or an output for a microcontroller? (a) input (b) output
  35. 35.📶 Digital or analog: many values in a range? (a) digital (b) analog
  36. 36.🔌 Is a small display an input or an output for a microcontroller? (a) input (b) output
  37. 37.True or false: “a knob turned part way” is a digital signal. (a) True (b) False
  38. 38.💡 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 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  39. 39.Which of these is an output? (a) an LED (b) a turning knob (c) a light sensor (d) a sound sensor
  40. 40.🔍 Which is the odd one out? (a) a push button (b) a turning knob (c) a temperature sensor (d) an LED

Answer key

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

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