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