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