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