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