Sensor MCQs — Set 4
10 practice questions on motion, light and magnetic sensors — PIR, LDR, Hall effect, reed switches, encoders and ultrasonic ranging.
Q1. What does a PIR sensor detect?
- (a) Sound waves
- (b) Infrared radiation given off by warm bodies such as people
- (c) Magnetic fields
- (d) Ultraviolet light from the sun
Answer: (b) Infrared radiation given off by warm bodies such as people — when a person moves across its field of view the changing infrared pattern triggers the output, which is why PIR sensors are used in security lights and alarms.
Q2. How does the resistance of an LDR change when more light falls on it?
- (a) It rises
- (b) It falls
- (c) It stays the same
- (d) It becomes infinite
Answer: (b) It falls — light frees charge carriers in the cadmium sulphide material, so an LDR can be a few hundred ohms in bright light and over 1 MΩ in darkness.
Q3. What does a Hall effect sensor detect?
- (a) Temperature
- (b) A magnetic field
- (c) Pressure
- (d) Humidity
Answer: (b) A magnetic field — when a magnet passes the sensor, the Hall voltage it produces switches the output, which is how Hall sensors count gear teeth or detect a door magnet.
Q4. How does a reed switch work?
- (a) Its contacts close when a magnetic field is brought near it
- (b) Its contacts open when light falls on it
- (c) Its resistance changes with temperature
- (d) It generates a voltage when heated
Answer: (a) Its contacts close when a magnetic field is brought near it — two thin metal reeds inside a glass tube are pulled together by a magnet, so reed switches are used in door contacts and float switches.
Q5. What is an encoder used for?
- (a) Measuring the temperature of a motor
- (b) Measuring the rotation, speed or position of a shaft
- (c) Measuring the current drawn by a load
- (d) Detecting gas leaks
Answer: (b) Measuring the rotation, speed or position of a shaft — it produces a train of pulses as the shaft turns, and counting the pulses gives the angle or the speed.
Q6. Where is a limit switch used?
- (a) To detect when a moving part reaches the end of its travel and stop it
- (b) To measure the level of liquid in a tank
- (c) To sense the temperature of a furnace
- (d) To measure the flow of water in a pipe
Answer: (a) To detect when a moving part reaches the end of its travel and stop it — unlike a proximity sensor it works by physical contact, with a lever or roller pressed by the moving part.
Q7. An ultrasonic sensor sends a sound pulse and the echo returns after 10 ms. The speed of sound in air is 343 m/s. How far away is the object?
- (a) 3.43 m
- (b) 1.72 m
- (c) 0.86 m
- (d) 6.86 m
Answer: (b) 1.72 m — distance = (speed × time) ÷ 2 = (343 × 0.010) ÷ 2 = 3.43 ÷ 2 = 1.715 m, about 1.72 m. The time is halved because the sound travels to the object and back.
Q8. An ultrasonic sensor’s echo returns after 20 ms. With sound at 343 m/s, what is the distance to the object?
- (a) 1.72 m
- (b) 6.86 m
- (c) 3.43 m
- (d) 0.34 m
Answer: (c) 3.43 m — distance = (343 × 0.020) ÷ 2 = 6.86 ÷ 2 = 3.43 m.
Q9. Why is a photodiode preferred over an LDR where a fast response to light is needed?
- (a) A photodiode is cheaper
- (b) A photodiode responds in microseconds, while an LDR is slow to respond
- (c) A photodiode needs no supply
- (d) A photodiode works in complete darkness
Answer: (b) A photodiode responds in microseconds, while an LDR is slow to respond — an LDR can take tens of milliseconds to change resistance, so it suits street lights but not fast counting or fibre-optic signals.
Q10. What is the main advantage of a proximity sensor over a limit switch?
- (a) It is always cheaper
- (b) It detects an object without touching it, so there is no mechanical wear
- (c) It can measure temperature as well
- (d) It needs no power supply
Answer: (b) It detects an object without touching it, so there is no mechanical wear — a limit switch’s lever and contacts wear out with every operation, while a proximity sensor has no moving parts.
Also read: Electrical Safety MCQs | All MCQ Topics