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