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