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