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