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