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