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