← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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