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