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