Hello to all of you my friends
That your friend's new in this forum and Otnmy you to help me to solve this small-scale project
I would be grateful to you too
The URL for the file that explains that the project
Multithreaded search program
Develop a c/c++/Java program, java is preferred, that utilizes multithreaded techniques you learnt in the
Operating Systems Lab. The following technical specifications should be included:
1- Users can use the program to search for multiple words, up to five words. The search process is
done in the same file by default.
a. Users specify the name of the searched file/s and the words to be found
b. Users can also choose to search for words in different files (i.e. one word for each file),
which are also specified by users. Maximum of three files can be used.
i. For point b, one thread can search in each separate file
ii. In the one-file case, and to optimize the search process, threads may start
looking for words in several places of the file
iii. The result of search should show the number of occurrences of each word
2- One separate thread is responsible for searching for each word
3- In addition, users have the option to find a complete sentence
a. In this case, only one or two sentences can be found; i.e. the program can employ two
threads. Each thread can find one sentence.
b. This option in carried out only using one file
4- The User interface of the application is left to your preference, however, user friendly usage of
your program or using a Graphical User interface can get extra credits
5- As a measuring facility, times for performing the same tasks using single threaded and
multithreaded techniques are to be compared.