Computer Science questions and answers in December 2022
. Give the aclation and the associated functional dependencies. P = EA,B, C, D, E, F, G, H, I, J, K ] KIH -> D B - >A B J - > C FG - I FB -> K H -DE a list the Primary Key for this relat... Q. CUSTOMER ( CID , NAME, STREET, CITY, STATE, AGE) SALE ( PID , CID , DATE , COST) PART ( PID , PNAME, COLOR) The meaning of these relations is straightforward; for example, SALE ha... . Example . For queryType = ["insert", "insert", "addToValue", "addTokey", "get"] and query = [ [1, 2] , [2, 3] , [2], [1 ] , [3] ] , the output sho... . 2. (KNN Classification) (25 points) Given a dataset with binary labels (x,y) = {(2, +), (3, +), (5, -). (7, +), (11, -)}, compute a. find the kNN training set error with k = 5, using 0-1 loss. If ...