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