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