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