← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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