← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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