← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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