1. Find the distance between objects 1 and 3. Notice that we have mixed type of attributes.
2. Write a program in any language which can compute Manhattan and Euclidean distances between any two given vectors with any length. You can pass the length to your function, but please don’t limit the dimension to 2. You can test your function on vectors you fill in your code without asking user input.
3. In the table below, determine whether passing a class has a dependency on attendance by using Chi-square test.
4. In R, there is a built-in data frame called mtcars. Please calculate the correlation between mpg and wt attributes of mtcars by using cor() function. Then generate scatter plot based on these two attributes.





