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