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