← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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