Find Jobs
Hire Freelancers

I would like to hire a Freelance Developer -- 2

$10-30 USD

Peruutettu
Julkaistu noin 7 vuotta sitten

$10-30 USD

Maksettu toimituksen yhteydessä
I need you to develop some software for me. I would like this software to be developed for Linux using C or C++. This project will include multithreadening operations, not requires a high level programming and task is quite easy. Description: In a company the human resources (HR) department deals with hiring new employees. In this department, there is one receptionist and three interviewers. When an applicant arrives at the department, the receptionist registers him/her. After this step, the receptionist sends the applicant into the waiting room. Whenever one of the interviewers becomes available, he/she calls the first applicant in line and interviews him/her. While the interviewers interview the applicants, the receptionist continues registering incoming applicants. (Note: Assume that the waiting room has infinite capacity.) You are required to model this HR department as a process with the interviewers and the receptionist as threads of this process. The receptionist needs nr seconds to register each applicant (this time is fixed and is read as a command line argument). Interviewing an applicant takes ni seconds for an interviewer and ni depends on the job position the applicant is applying for. To simulate applicants with different types of position applications, an interviewer thread should read the time it will take to interview the current applicant from an input file. (Hint! To simulate the waiting times during the registration and interview stages, you can use the “sleep” command.) Please note: For this homework, you are required to model the HR department as ONE process with FOUR threads (one receptionist thread and three interviewer threads). Solving the problem with multiple processes and no threads, will NOT get any points. Please preserve the order and meaning of the program arguments. Please test your program with different input files and make sure to achieve expected results. Please check that your program correctly removes all allocated resources (e.g. shared memory locations, semaphores, and any others you have used). Input parameters and input file formats: Input files for testing your program must be in the format given below where each line contains the ni interviewing times for each applicant. Input file must be in “.txt” file format. Assume that there are 4 applicants with following interviewing times. For example, interviewing time for the first applicant is 50 seconds, for the second one 30 seconds, so on. [login to view URL] 50 30 70 60 .. Test: Your program will be tested in the form: ./program [login to view URL] nr Output format: Your program must print the events on the screen in their order of occurrence in the format given below. Assume that nr = 1 seconds in this example. Applicant 1 applied to the receptionist Applicant 2 applied to the receptionist Applicant 3 applied to the receptionist Applicant 4 applied to the receptionist Applicant 1’s registeration is done Interviewer 1 started interview with Applicant 1 Applicant 2’s registeration is done Applicant 3’s registeration is done Interviewer 3 started interview with Applicant 2 Interviewer 2 started interview with Applicant 3 Applicant 4’s registeration is done Interviewer 3 finished interview with Applicant 2 Interviewer 3 started interview with Applicant 4 Interviewer 1 finished interview with Applicant 1 Interviewer 2 finished interview with Applicant 3 Interviewer 3 finished interview with Applicant 4 All applicants have interviewed successfully.
Projektin tunnus (ID): 13700945

Tietoa projektista

5 ehdotukset
Etäprojekti
Aktiivinen 7 vuotta sitten

Haluatko ansaita rahaa?

Freelancerin tarjouskilpailun edut

Aseta budjettisi ja aikataulu
Saa maksu työstäsi
Kuvaile ehdotustasi
Rekisteröinti ja töihin tarjoaminen on ilmaista
5 freelancerit tarjoavat keskimäärin $51 USD tätä projektia
Käyttäjän avatar
!!!!!Hello!!!!! How are you? I've a great interest in your project as a Computer Vision and C, C++, C# programming expert who have been specializing in this field for over 10 years. As you can check from my portfolio and previous project reviews, I've developed Object Recognition & Detection programme such as OCR, ALPR, Pedestrain Detection and Counting with C++ & C# . I feel confident that can fulfill your requirements. Please contact me so that I can discuss with you on the project more in detail. Thanks and Regards, Richard Minh.
$45 USD 1 päivässä
4,9 (43 arvostelua)
6,8
6,8
Käyttäjän avatar
I can develop the code for multithreaded program in c++. Feel free to contact me via chat, so that we can discuss about it. Please check my profile for reviews. I am not a mediator,. I develop code myself. Thanks
$111 USD 5 päivässä
5,0 (26 arvostelua)
5,2
5,2
Käyttäjän avatar
We've dedicated team of experts to deliver quality solution within your time frame. I can answer your queries on CHAT. Looking forward to work on your project.
$50 USD 1 päivässä
5,0 (1 arvostelu)
3,0
3,0
Käyttäjän avatar
Dear Madam/Sir, Price and time can be discussed later when We discuss the project. I believe communication is key to any successful project, and I'd like to start things off on the right foot but suggesting We schedule a phone or Skype call to discuss your's project further. Please let me know a time that works best for you and I will make sure that I make myself available. Thank you for your time and consideration. With Regards, Irshad
$25 USD 11 päivässä
0,0 (0 arvostelua)
0,0
0,0

Tietoja asiakkaasta

Maan TURKEY lippu
Istanbul, Turkey
5,0
4
Maksutapa vahvistettu
Liittynyt huhtik. 11, 2017

Asiakkaan vahvistus

Kiitos! Olemme lähettäneet sinulle sähköpostitse linkin, jolla voit lunastaa ilmaisen krediittisi.
Jotain meni pieleen lähetettäessä sähköpostiasi. Yritä uudelleen.
Rekisteröitynyttä käyttäjää Ilmoitettua työtä yhteensä
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ladataan esikatselua
Lupa myönnetty Geolocation.
Kirjautumisistuntosi on vanhentunut ja sinut on kirjattu ulos. Kirjaudu uudelleen sisään.