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