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