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