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