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