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