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