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