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