← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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