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