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