From my experience operating it I reckon it does the following: after you fill it and start, it starts heating and measures the time it takes to reach 100°C. This allows it (in the rice program) to figure out the amount of mass present and adjust the simmering time under pressure accordingly.
Using the same trick (in alll programs) it figures out overfilling and aborts for safety reasons.
Edit: I think the only sensor needed is a temperature sensor.