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