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