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