← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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