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