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