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