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