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