The Answers have been provided at the end of the Questions: Q1. Which of the following sensors is used to…