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