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