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