← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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