EMERGING TRENDS IN SOFTWARE ENGINEERING
MISCELLANEOUS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
*The map in MapReduce is different from the map in a functional programming language.
|
True
|
|
False
|
|
Either A or B
|
|
None of the above
|
Explanation:
Detailed explanation-1: -The map() function returns a new array through passing a function over each element in the input array. This is different to reduce() which takes an array and a function in the same way, but the function takes 2 inputs-an accumulator and a current value.
Detailed explanation-2: -The Map function takes input from the disk as <key, value> pairs, processes them, and produces another set of intermediate <key, value> pairs as output. The Reduce function also takes inputs as <key, value> pairs, and produces <key, value> pairs as output.
There is 1 question to complete.