← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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