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