With expertise in the shell I want to help necessary to resolve project and wish you
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
With expertise in the shell I want to help necessary to resolve project and wish you
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.
If you need help with homework, don't make us hunt for the questions. As well, simply copying the questions here will not get us to help you - many of us have left school and have done enough homework of our own. Finally, how do you know your teacher isn't a member here?
What you need to do is to tell us what work you have already done and we can help with pointers. We will not do your homework for you.
Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.
Above is the LQ canned response for homework. Even though you used a link, you effectively just handed us your assignment sheet without comment. In these cases, I will generally close the thread.
Please feel free to start a new thread that follows the stated guidelines
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.