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