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