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