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