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