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