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