Question: 3 . Determine if the following problems exhibit task or data parallelism: a ) Using a separate thread to generate a thumbnail for each photo

3. Determine if the following problems exhibit task or data parallelism:
a) Using a separate thread to generate a thumbnail for each photo in a collection
(2 points)
b) Transposing a matrix in parallel (2 points)
c) A networked application where one thread reads from the network and another writes to the network (2 points)
d) Array summation using divide and conquer strategy where data of array is divided among different threads and each thread performs summation and final result is calculated using join statement. (2 points)
e) Grand Central Dispatch. It is used by Mac OS and iOS operating system to identify parallel sections in code and assign threads from thread pool to perform each task.
(2 points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!