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