← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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