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