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