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