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