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