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