Closed Thread
Results 1 to 6 of 6

Thread: UNIX HELP: C programmers

  1. #1
    Dr. Abbey is offline Newbie
    Join Date
    Apr 2008
    Posts
    5
    Rep Power
    0

    UNIX HELP: C programmers

    Hello all
    Ok I need a programmer for a little project. No it isn't homework and yes the semester is over. I need the program below to be done in C. The project is not that hard, but it requires some experience in C. The requirements are given to what needs to be done. I just need the library functions and some pseudocode for the little project. If you are interested please e-mail me at dr.abbeynyu.com This is very urgent, so please get back to me ASAP. I am willing to pay.
    Thank You

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    v0id is offline Retired
    Join Date
    Apr 2007
    Posts
    2,937
    Blog Entries
    3
    Rep Power
    42

    Re: UNIX HELP: C programmers

    You have to give us some more information about the project. I don't think nobody would even send you an e-mail, without knowing what they're getting into.

  4. #3
    Dr. Abbey is offline Newbie
    Join Date
    Apr 2008
    Posts
    5
    Rep Power
    0

    Re: UNIX HELP: C programmers

    **Disk Scheduling**
    Suppose the read/write head of a disk is a track 97, moving towards track 299 (the highest numbered track on the disk), and the disk request queue contains requests for the sectors on tracks 84, 155, 203, 96, 23, 197, and 222.
    a. compute the total distance (expressed in terms of tracks traveled) needed to satisfy the requests using the following disk scheduling policies: FCFS, SSTF, Scan and Look.
    b. Suppose the seek time of each I/O request is a function of the track distance according to the following formula:
    seek time = 2+ [distance / 10] x0.5ms
    What's the average seek time to service the I/O requests for each of the scheduling policies?

    **Synchronization**
    You are tasked with designing a set of library functions (API) to support a multi-user document management system with version control. Users of the system would like to be able to perform the following operations on a repository of shared documents, whose integrity your library is supposed to ensure:

    - create new document: add a new document to the repository. A new document is designated version number 0.
    - update document: this provides the mechanism to create a new version of a document. The version number is automatically updated.
    - retrieve current version: this operation reads the latest version of the document.
    - retrieve previous version: this operation allows the retrieval of a previous version of a document.
    - compare document versions: this operation returns the differences between two versions of the same document.

    The above operations are subject tot the following constraints that your library functions must account for: 1) a request to retrieve the latest version of a document while the document is being updated will cause the reader to block until the update completes: 2) no more than 10 concurrent readers are allowed for a single document ( the others are blocked)

    In support of your library, you must first define the data structures needed to maintain information about the documents (metadata). You need not worry about the explicit representation of a document - i.e. you can assume that 'document' is a predefined type in your system. The same goes for file I/O - you can assume that there exists such operations as WriteToFile, ReadFromFile, etc. You may have to make further assumptions to accommodate your solutions to the problem. For each of the operations defined you are to provide pseudocode. Take special care in designating which variables are shared., and the initial values of semaphores used in your solution.

  5. #4
    Join Date
    Jul 2006
    Posts
    16,478
    Blog Entries
    75
    Rep Power
    143

    Re: UNIX HELP: C programmers

    These look like homework problems, NOT standard programming work. In particular, the first item does not require the existence of a program in any language, just a few calculations. The requirements for the second problem, as stated, are completely unreasonable for a non-classroom programming problem.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  6. #5
    Dr. Abbey is offline Newbie
    Join Date
    Apr 2008
    Posts
    5
    Rep Power
    0

    Re: UNIX HELP: C programmers

    Yes you are right, these are from school, but are not for a programming class. Our school has clubs for non-computer science students like me. Being a finance major, I wanted to experience something about computers so I joined the club. We have to bring in samples of code or in this case pseudocode to share with everyone that have been completed by computer science student. Now that the semester is over, no one is in school and we have been given these sample projects to have completed and to be presented. The club is really helpful and just covers the concepts of C programming. We are allowed to get any help we need including finding programmers who are willing to share their knowledge. During the school year, we used to award and give gift cards to computer science students who completed programs and shared their knowledge with us. This sample project is one that was used a few semester ago by some professor. Even though the school year is over, the club still in progress throughout the summer. So I just came here to find some help. Instead of giving gift cards, we are just going to pay. The club is called PIC (programmers in C). So please, any help would be appreciated. There are not too many people attracted to programming, so our goal is to help them understand the concepts and to attract more students.
    Thank You

  7. #6
    LogicKills's Avatar
    LogicKills is offline Programmer
    Join Date
    May 2008
    Location
    US
    Posts
    138
    Rep Power
    16

    Re: UNIX HELP: C programmers

    I think you should write your own code. Before helping them understand the concepts I think you need too. If you are a contributing member of this club then why copy and paste some code from a forum and bring it in. What if a fellow member asks a question you can't answer because you didn't program it, are you going to link them to CodeCall? You are defeating the purpose of your own club.
    http://logickills.org
    Science - Math - Hacking - Tech

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. is mac really based of unix?
    By moonknight in forum Mac OS X
    Replies: 58
    Last Post: 10-26-2010, 05:56 AM
  2. What Unix OS do you use?
    By DarkLordoftheMonkeys in forum Linux/Unix General
    Replies: 39
    Last Post: 08-09-2010, 02:07 PM
  3. Unix
    By Tonyg1 in forum Linux/Unix General
    Replies: 5
    Last Post: 04-21-2010, 05:38 PM
  4. Which UNIX form I should USE
    By Shanpav in forum Computer Software/OS
    Replies: 7
    Last Post: 05-28-2009, 07:09 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts