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