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