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