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