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