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