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