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