Starting from:

$30

CSC332- Multithreading Solved

Download the attached text file that contains 50,000,000 random words (e.g. Communication, Protocols, and Architecture), and write a serial program (single thread) to read it. After that, the program will copy the words to some form of a list to find:

I.           The longest word

II.          The shortest word

III.         The most common word

Then, improve your program utilizing multiple threads equal to the number of the cores you have on your machine[1]. After reading the words to the same list by a single thread, divide the list evenly between the pool of threads, so that each thread will do the same search concurrently.     

 

More products