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