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