Professional Documents
Culture Documents
Tutorial 3 Exercises
---------------------------------------------------------------------------
PART A – Multiple Choice Questions
Answer C
Answer A
Q3. Which of the following is the correct order of steps of the knowledge discovery process.
A Data Selection, Data Transformation, Data Mining, Evaluation
B Data Cleaning, Data Selection, Data Mining, Data Transformation, Evaluation
C Data Selection, Data Transformation, Data Cleaning, Evaluation, Data Mining
D Data Cleaning, Data Selection, Data Transformation, Data Mining, Evaluation
Answer D
Answer E
1|Page
A the continuous monitoring of a person's heart rate,
B hourly readings of air temperature,
C daily closing price of a company stock,
D monthly rainfall data,
E Survey data collected from 25 online students
Answer E
Answer C
Answer A
2|Page
D Numeric
E None of the above
Answer B
Answer D
Q10 What is the data type of ‘No of Children’?
A. Nominal
B. Numeric
C Discrete
D Continuosu
E None of the above
Answer C
A Web Mining
B Big Data Mining
C Spatial Mining
D Time series Mining
E Text Mining
Answer C
A 9
B 11
C 13
D 17
E 19
Answer B
Q14 The Manhattan distance between P (2, -3, 5, -7) and Q (4, 5, 2, -4) is
3|Page
A 12
B 14
C 16
D 18
Answer C
Answer B
A1 A2 A3 A4
Object A 0 3 4 5
Object B 7 6 3 -1
Answer C
Answer B
1
Given the following two objects answer the questions 18-19....
A1 A2 A3 A4 A5 A6 A7 A8
Object 1 1 0 1 0 0 1 1 0
Q18 What
Object 2 is the
1 distance
0 between
1 the1objects if
0 all variables
1 are
0 symmetric?
1
4|Page
A 0.25
B 0.5
C 0.67
D 0.375
Answer D
Q19 What is the distance between the objects if all variables are asymmetric?
A 0.25
B 0.67
C 0.5
D 0.75
Answer C
A1 A2 A3 A4 A5 A6 A7
Mary 1 0 1 0 0 1 0
Amanda 1 0 1 1 0 1 0
John 1 1 0 1 1 0 1
Stephen 0 1 1 0 1 0 0
A new patient Diana has the following details:
A1 A2 A3 A4 A5 A6 A7
Diana 0 1 0 1 0 1 0
Assuming that all attributes are symmetric, the nearest neighbour of Diana is
A Mary
B Amanda
C John
D Stephen
Answer B
___________________________________________________________________
A B C D
A 0
B 3.46 0
C 4 3.46 0
D 3.46 4 3.46 0
A B C D
A 0
B 6 0
C 8 6 0
D 6 8 6 0
Q2 The Pearson Correlation Coefficient
Calculate the Pearson correlation coefficient between X and Y using the formula below:
X Y X -- X Y -- Y (X- X))(Y - Y) SQ (X - X) SQ (Y - Y)
3 1 -1 -3 3 1 9
6|Page
6 3 2 -1 -2 4 1
2 2 -2 -2 4 4 4
5 7 1 3 3 1 9
7 6 3 2 6 9 4
1 5 -3 1 -3 9 1
X Y Sum =11 Sum = Sum =
= = 28 28
4 4
7|Page