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