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