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