← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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