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