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