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