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