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