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