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