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