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