Preview

It 210 Week 7

Satisfactory Essays
Open Document
Open Document
286 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
It 210 Week 7
1.2 a. Input names of students from the user, terminated by ”ZZZ”,0,0,0, and create a data file grades with records of the following form: student (String), test1 (Integer), test2 (Integer), test3 (Integer)

Analysis
Processes
1. Display Input student name and test scores screen 2. Prompt for Student name 3. Prompt scores 4. Perform calculations 5. Provide student names, scores and total
Input
1. Student Name 2. Test Scores
Output
1. Display Student name, scores and total

Declare StudentName as string
Declare Test1 as integer
Declare Test2 as integer
Declare Test3 as integer

Open “GRADES” For Output As TestScores Set Test1, Test2, Test3 = 0 Write “Enter students name and test scores.” Write “Enter ZZZ for students name when finished.” Input StudentName, Test1, Test2, Test3 While StudentName “ZZZ” Write TestScores, StudentName, Test1, Test2, Test3 Write “Enter students name and test scores.” Write “Enter ZZZ for students name when finished.” Input StudentName, Test1, Test2, Test3 End While Close TestScores

2. Display the contents of the file GRADES created in Problem 1. Each student’s record should appear on a separate line and include the total score (the sum of the three tests) for that student. For example, a line of output might be as follows:

R. Abrams 76 84 82 242
Declare Sum as integer

Open “GRADES” For Input As TestScores
While Not (TestScores) Read TestScores, StudentName, Test1, Test2, Test3 Add Test1 + Test2 + Test3 = Sum Write StudentName, “ “, Test1, Test2, Test3, Sum
End While
Close TestScores

Declare Sum as integer

Open “GRADES” For Input As TestScores
While Not (TestScores) Read TestScores, Abrams, 76, 84,82, Add 76 + 84 + 82 = 242 Write “Abrams 84, 82, 76, 242”
End While
Close TestScores

Expected Output:

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Week 6 HSM 260

    • 324 Words
    • 2 Pages

    1. The difference in service volume between the high and low time periods is calculated by subtracting the month with the lowest number of meals served from the month with the highest number of meals served.…

    • 324 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    It/242 Week 4 Chekpoint

    • 379 Words
    • 2 Pages

    Saguaro Federal has mainframes for all of its banks and businesses. Must the company use the Ethernet or Token Ring protocol? Explain your choice. Why is this choice appropriate?…

    • 379 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    week 5 xmgt/216

    • 388 Words
    • 2 Pages

    I hope all is well since our last meeting. As we have recently been confronted with financial difficulties within Austen Pharmaceuticals, I have given extensive consideration in devising an effective plan for adequately addressing the directive of decreasing payroll by 15% and am prepared to share my prospective solution. As this transition will directly impact the employees, I have met with them to apprise them of the proposed cuts that have been presented and will ultimately take place. In an effort to maintain morale and make this evolution as seamless as possible for the employees, I have incorporated some of their ideas and suggestions in constructing the plan to decrease the payroll while preserving the workforce. After reviewing the most current performance evaluations for each employee, I have established a ranking system that rates each employee based on their overall performance in addition to any individual contributions that they have made which resulted in more efficiency within our division. By rating the employees based on performance, this provides a reference point to determine the most productive employees versus those who are marginal in the event that lay-offs are inevitable. The first step in fulfilling the objective of the plan is to immediately eliminate overtime and have salaried staff help out where possible to complete the work. Next, is to restructure or reduce the amount of hours that each employee works while allowing them to maintain their benefits. The more productive employees will work during peak hours and the average staff will work during off-peak hours. This will allow for the work to be completed while utilizing our best resources when the workflow is the highest. The final…

    • 388 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The objective is to successfully convert the United States Army Medical Department from EMR to AHLTA. There are trainers that are set in place to ensure that the staff receives their full attention and that they also feel comfortable with the software. The outcome of this would be to have the ability to easily communicate electronically regarding patients and is up to date with today’s advanced technology which will allow the compliance with government standards as well as high reimbursement for every office. . While being trained the staff should feel very comfortable when working with the software and to ensure that this happens a questionnaire is given for feedback.…

    • 655 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Mat/206 week4

    • 302 Words
    • 2 Pages

    You know that a number is written in scientific notation when there is a decimal number with one digit to the left of the decimal. For example let us take the number 53,000,000. In scientific notation it would be written as 5.3*10^7…

    • 302 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Bis/220 Week 1

    • 1404 Words
    • 6 Pages

    They have operators that help you all the way through with no extra charge. The down side to this system is that it has to be updated at least twice per year for 2 hours. They do have high credit card processing rates but nothing that you couldn 't get them to lower the interest rates.…

    • 1404 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    week 1 2520

    • 261 Words
    • 2 Pages

    The APR Ping Scan was scanning for host. They SYN Stealth Scan discovered ports opened on the IP address.…

    • 261 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    It/235 Week8 Draft

    • 723 Words
    • 2 Pages

    Photography, whether that being out sourced or in house, is an important aspect in advertising for any business. These options contain both pros and cons when discussing the financial and beneficial aspects in regards to the company effectively reaching target audience. The convenience of the in house photography and that of scheduling out sourced professional photographers will prove interesting and vital in detail. Also, the idea of the many uses of this imagery and accessibility can be a factor in the merchandising, advertising and business fortitude.…

    • 723 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    It 210 Week 8 Checkpoint

    • 358 Words
    • 2 Pages

    |Graphical Interface/Central Computer |Communicates with the door, microwave |Incoming messages are from the user,|Outgoing messages tell the generator to |…

    • 358 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    * Line 7 asks for the first age and also explains that when you are…

    • 313 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    IT 240 Set 2 Week 3 DQ 1

    • 408 Words
    • 2 Pages

    What are the various types of Internet connectivity available today? How do they differ from each other? Explain your answer.…

    • 408 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    It/205 Week 8 Checkpoint

    • 339 Words
    • 2 Pages

    A census is the process of acquiring and recording information from the general public to determine population or housing numbers. For the 2010 census, the United States Census Bureau decided to implement a program called Field Data Collection Automation (FDCA). The program was intended to improve the data collection process by using handheld electronic devices. The mobile handhelds were to canvass addresses during the initial stage of the census.The FDCA program was important to the U.S. Census Bureau because it would replace the millions of paper forms and maps that were previously required to complete the census (Laudon&Laudon, 2011, p413). It was also important because it was meant to reduce costs, improve data quality, improve data collection efficiency, and encourage people to participate. Unfortunately, the FDCA program had problems.…

    • 339 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Bis 220 Week 1

    • 470 Words
    • 2 Pages

    The Telephone Consumer Protection Act of 1991 (TCPA) was established to protect consumers from the increasingly intrusive methods employed by telemarketers. Information technology advances such as auto-dialers, predictive dialers, and automated faxes made it easier to reach large numbers of businesses and households in a relatively short time. These methods were not only highly annoying to consumers, but through the use of these devices, telemarketing companies were also passing some of the cost of marketing onto the consumer. Consumers on the receiving end of numerous calls from various companies throughout the day were spending time that could have been spent in other activities and were rightly frustrated about the loss of their time. In the case of automated faxes, resources such as paper, ink, and even the data connection being used to receive what is essentially junk mail was a cost the consumer had no way to avoid. Fortunately, lawmakers responded to this unethical action of telemarketing companies with the TCPA. Specifically, the law makes it illegal to use auto-dialers and pre-recorded voice messages to make sales calls to emergency phone lines, medical offices, hospital rooms, homes for the elderly, paging services, or cellular phones. It also requires the recipient of pre-recorded telemarketing calls to give prior consent to receive the calls. It also made it illegal to send unsolicited fax messages. The law also gave states their own authority to regulate telemarketing practices. The Federal Communications Commission (FCC) enforces the rules set forth in the TCPA. The FCC was also given authority to issue regulations beyond the TCPA in order to continue to protect consumers from abusive telemarketing practices. This provision shows that Congress recognizes that over time changes in information technology may make the TCPA insufficient to meet the task of consumer protection ("EPIC - Telemarketing and the Telephone Consumer Protection Act (TCPA)").…

    • 470 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Crt/205 Week 2

    • 1342 Words
    • 6 Pages

    In this the issue considered is the way of driving with the children in the backseat. Therefore this is a difficult one as the roads will have more traffic and driving is not an easier one. If it is done with children then it will be more difficult as they will be playing inside car and will be a hard task to control them. Then they have various distractions like that of visual distractions, manual distractions and cognitive distractions. These will be very hard for drivers as they need to be very careful in it while driving with a child.…

    • 1342 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    What are the advantages of external cascading style sheets (CSS) compared to internal CSS and the embedded ? Explain situations in which each is the appropriate type. Given these situations, which type do you think would be more useful for the majority of web pages?…

    • 426 Words
    • 2 Pages
    Satisfactory Essays