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