← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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