← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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