← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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