← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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