← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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