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