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