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