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