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