Preview

Programming Methods

Good Essays
Open Document
Open Document
578 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Programming Methods
This assignment gave me the opportunity to computerize a manual membership system of Richard’s Tennis Club using various methods and techniques. The computerization of this system introduced several advantages but also created some limitations.
The first report in task 1 had to contain a list of all the paid up members. To compile this list, the expiry date of each member was calculated depending upon the type of membership. Once the expiry date was set, this date was compared to the variable ‘today’ which was assumed to contain today’s date (or in our case the date in which the report is being generated). If the program finds that the expiry is greater or equal to today’s date, then the record will be listed in the output report as this would mean that the member is active.
The second report in task 1 had to contain a list of all the members that are going to expire in the next month and a total payment due if all members renew their membership. At first, the expiry date of each member was calculated with the same method used in report 1. The expiry date contained the due month in which the subscriber must renew his membership. The due month was then compared with the next month and if these were equal this would mean that the member will expire in the next month therefore included in the report. To calculate the next month, we used a variable of type date which was assumed to contain the current month. The next month would then be equal to the current month + 1.
In task 2 the pseudo code for both reports was written. In both reports an array of records was used to store the membership details. The array contained 100 of these records. This created a limitation to our program but could be easily modified to any bigger value which we want. In both reports a FOR loop was used since the maximum number of members is known.
In task 3 question ‘a’, a REPEAT / UNTIL loop was used since the program had to repeatedly check the members one by one until a true

You May Also Find These Documents Helpful

  • Powerful Essays

    PROJ 586 Final Exam

    • 872 Words
    • 4 Pages

    12. (TCO C) Calculate the earliest start for Task B if its predecessor, Task A, finishes on day 3 and the duration of Task B is 2 days.…

    • 872 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    I have recently been assigned a new task. I must run and reconcile a report that compile Medicare accounts that have payment’s rejections from coding perspective. Since this is a new task, I’ve noticed that I am working on the report at the last time and getting behind in my additional duties.…

    • 330 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    3RAI LEARNING ACTIVITIES

    • 4883 Words
    • 16 Pages

    As soon as an employee has been on a course this will be inputted on to the spreadsheet along with the expiry date (if there is one) so we can ensure all personnel have valid records.…

    • 4883 Words
    • 16 Pages
    Good Essays
  • Good Essays

    Tda 2.2 Safeguarding Essay

    • 1646 Words
    • 7 Pages

    Task 1 – L.O. 1: 1.1, 1.2 & L.O. 3: 3.1, 3.2, 3.3, 3.4, 3.5…

    • 1646 Words
    • 7 Pages
    Good Essays
  • Satisfactory Essays

    Some pros to the death penalty are that it protects innocent people and that the death penalty serves as a deterrent. Sentencing convicted murderers with the death penalty we are protecting inmates, guards, and people outside the prison. If we do not sentence convicted murderers with the death penalty and instead sentence them with life we are giving them the opportunity to murder while in prison. A statistic shows that by executing convicted murderers we are saving from three to eighteen innocent lives. The death penalty serves as a deterrent because without the death penalty there would be a lot more murderers. This is so because a lot of people do not commit murder in fear of the death penalty and those who have committed murder would…

    • 138 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    Reading Key

    • 3881 Words
    • 16 Pages

    1. What conditions existed in what is today the United States that made it "fertile ground" for a great nation?…

    • 3881 Words
    • 16 Pages
    Powerful Essays
  • Best Essays

    A patient with a bone mineral density T-score of -2.7 would be suffering from osteoporosis.…

    • 3911 Words
    • 16 Pages
    Best Essays
  • Good Essays

    Pass 2 – Present complex internal business information using three different methods appropriate to the user’s needs…

    • 1491 Words
    • 8 Pages
    Good Essays
  • Good Essays

    The prison system is just as corrupt as the prisoners inside them. We live in a world where it is deemed acceptable to punish a criminal by taking away their humanity, and only release them when they find it themselves. It is apparent that the methods of handling prisoners and their sentences is costly and not effective. The recidivism rate in the United States prison and detention facilities are incredibly high, much higher than their Scandinavian counterpart. Recidivism “refers to a person's relapse into criminal behavior, often after the person receives sanctions or undergoes intervention for a previous crime.” (National Institute of Justice) According to the National Institute of Justice, “within three years of release, about two-thirds of released prisoners were rearrested; and within five years of release, about three-quarters of released prisoners were rearrested.” (National Institute of Justice) Unfortunately the statistics are only the tip of the iceberg in the severely flawed and failing prison. We must reform the flawed prison system, only than can we correct the criminal way of life.…

    • 294 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Xembra case study

    • 13709 Words
    • 176 Pages

    This task usage report depicts the number of hours, start times, and finish times for each task…

    • 13709 Words
    • 176 Pages
    Good Essays
  • Satisfactory Essays

    1.The given software provides Accounting and Inventory to give up-to-date information and crucial actionable data on dues and stocks for follow-up, cost cutting…

    • 477 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Section 11: Data Manipulation Mark Nicholls – ICT Lounge IGCSE ICT – SECTION 11 DATA MANIPULATION MICROSOFT ACCESS STEP BY STEP GUIDE Mark Nicholls ICT Lounge Page |1 Section 11: Data Manipulation Mark Nicholls – ICT Lounge Contents Task 35 details………………………………………………………………………………………… Page 3 Opening a new Database………………………………………………………………………….…

    • 6749 Words
    • 47 Pages
    Powerful Essays
  • Powerful Essays

    Cement Industry of Pakistan

    • 9222 Words
    • 37 Pages

    We also collected some data from the Internet. The report was then composed and submitted on the due date.…

    • 9222 Words
    • 37 Pages
    Powerful Essays
  • Satisfactory Essays

    produce a meaningful report within the constraints. I had to face some difficulties while gaining…

    • 15689 Words
    • 63 Pages
    Satisfactory Essays
  • Satisfactory Essays

    National Stock Exchange

    • 329 Words
    • 2 Pages

    will be computed at member level on a daily basis and will be collected on a monthly basis, after…

    • 329 Words
    • 2 Pages
    Satisfactory Essays