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