← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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