Match the following measuring devices with their principle of measurement.
\begin{tabular}{|l|l|}
\hline Measuring Device & Principle of Measurement \\
\hline (P) Optical pyrometer & (I) Variation in mutual inductance \\
\hline (Q) Thermocouple & (II) Change in resistance \\
\hline (R) Strain gauge & (III) Wavelength of radiated energy \\
\hline \begin{tabular}{c}
(S) Linear variable \\
differential transformer
\end{tabular} & \begin{tabular}{c}
(IV) Electromotive force generated by two \\
dissimilar metals
\end{tabular} \\
\hline
\end{tabular}
$(\mathrm{P})-(\mathrm{III}),(\mathrm{Q})-(\mathrm{IV}),(\mathrm{R})-(\mathrm{II}),(\mathrm{S})-(\mathrm{I})$
$(\mathrm{P})-(\mathrm{IV}),(\mathrm{Q})-(\mathrm{III}),(\mathrm{R})-(\mathrm{II}),(\mathrm{S})-(\mathrm{I})$
$(\mathrm{P})-(\mathrm{III}),(\mathrm{Q})-(\mathrm{I}),(\mathrm{R})-(\mathrm{IV}),(\mathrm{S})-(\mathrm{II})$
$(\mathrm{P})-(\mathrm{II}),(\mathrm{Q})-(\mathrm{IV}),(\mathrm{R})-(\mathrm{I}),(\mathrm{S})-(\mathrm{III})$