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