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