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