← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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