← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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