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