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