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