← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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