← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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