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