← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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