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