1. What is the value of the correlation coefficient if all points of the scatter plot lie on a straight line with slope 0.1?

How to measure r?