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