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