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