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