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