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