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