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