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