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