CS 246 Quiz: CS246 Quiz 0

47 views2 pages

Document Summary

Robert: home page, handouts, tutorials, homeworks, lab projects, reports, class administration, question bank, log out. You can attempt to answer the questions as many times as you like. *last* submission gets saved into our records (that is, once you get a perfect score, don"t resubmit with a bad one): using the matrix-vector multiplication described in section 2. 3. 1, applied to the matrix and vector: 4 a) (3,45) d) (4,28) b) (1,13) apply the map function to this matrix and vector. Then, identify in the list below, one of the key-value pairs that are output of map. c) (2,70: suppose our input data to a map-reduce operation consists of integer values (the keys are not important). The map function takes an integer i and produces the list of pairs (p,i) such that p is a prime divisor of i. That is, reduce(p, [i1, i2, ,ik]) is (p,i1+i2++ik).

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents