KAPCO interview question

Technical Questions were asked mostly: How does a level sensor works