← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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