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