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