← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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