Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The report should includes some figures/tables summaries your work (one report/g

ID: 3695605 • Letter: T

Question

The report should includes some figures/tables summaries your work (one report/group). Final project You need to write two programs, Sever and Client, the communication is though UDP connection. The Server read an array of integers randomly (0-10,000), the size of array is either 40k or 40M. The Sever divide the array into sub-arrays matches the number of clients. Each client should be create a number of threads and apply merge sort to sort the sub array, the number of threads is 1,2,4,8 or 10. Each client send the sorted sub-array to the server upon finish. All clients should working in parallel. The server receives all sorted sub arrays and sorts them again (Final sort). You report should include timing comparison vs. number of thread.

Explanation / Answer

Client: