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