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