← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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