← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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