Question
CODING GUIDES(C++): 1. Use of proper variable declaration/initialization according to the naming conventions (camelCase, snake_case, PascalCase ) 2. Use of proper function for each module.
CODING GUIDES(C++):
1. Use of proper variable declaration/initialization according to the naming conventions (camelCase, snake_case, PascalCase )
2. Use of proper function for each module.
You have learned merge sort in data structures which sorts an array in nlogn time, it is a divide and conquer technique. We can enhance the performance of merge sort using the multithreading. First of all, you have to check the processor cores of your system, lets suppose your system processor has 4 cores. Now you have to create 4 threads and divide the array among these threads and sort them using merge sort. You have to take size of array and array elements from user.
For this question you have to submit three things multithreaded merge sort C++ CODE, screenshot of available cores in your system and also the mac address screenshot of your system. No need to implement merge sort from scratch you can use merge sort code from internet but provide the link of source in the code.
NOTE:
TAKE 4 CORES. NO PLAGIARISM
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started