← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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