← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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