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