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