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