← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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