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