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