← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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