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