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