A sensor is a device that indicates a change of state in response to an event or stimulus. A census is an instrument by which the changes in state in a given population are registered through counting. A censor is a filter which selects and screens…