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