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