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

    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

    DQ 1: Review the definition of control structure on p. 45 in Extended Prelude to Programming: Concepts and Design (2nd ed.). Then, think about the pseudocode algorithm you would write for a simple task (making a peanut butter sandwich, for example) as well as three simple control structures that could be used to create this algorithm.…

    • 437 Words
    • 2 Pages
    Satisfactory 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
  • 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
  • Good Essays

    It/205 Week 1 Check Point

    • 509 Words
    • 3 Pages

    The three dimensions of business problems are Organizations, Technology, and People. An example of organizations would be the rules and regulations that are set forth from within the company from the higher ups. If organizations did not set up these rules and regulations then the employee’s would just do what they thought was correct and everyone would be going in different directions and not working as a team to accomplish the same goals FedEx’s organization is set up so when they receive a package, everyone will follow specific procedures to ensure the information about the package is loaded into the system correctly so the package can to get to its final destination on time. Technology is anything from computer hardware to software to networking to the World Wide Web. Companies such as FedEx use technology to their advantage to keep track of all the packages and provide status checks with all of these forms of technology. They can now pinpoint potential delays or misdirection of packages and get it corrected sooner by using computer systems that talk to each other. The people are skilled in what their specific job is within a company to ensure that the overall goals are met. With FedEx there are hundreds if not thousands of different jobs that all have to be accomplished just for someone to send a package and it to get the destination on time. If FedEx did not have drivers, pilots, IT personnel, then the packages would go nowhere and they would be out of business. All companies must be set up with these three dimensions and a full understanding of each dimension to be successful.…

    • 509 Words
    • 3 Pages
    Good 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
  • Satisfactory Essays

    Com 155 Week 8

    • 257 Words
    • 2 Pages

    The plagiarism checker came out perfect. The WritePoint on the other hand came out with a few corrections that need to be made. Yes, each of my topic sentences directly addresses the thesis as well as states the topic. I did good in that area with staying on topic. Yes, each paragraph has an effective closing that reinforces the main point. Yes, the essay is coherent and it flows from beginning to end. Yes, the order of the support is logical and effective. Yes, the essay provides strong evidence to support my opinions. Yes, the essay reflects on the evidence and explains its importance. The only thing wrong with the essay would be a few grammar errors and run-ons.…

    • 257 Words
    • 2 Pages
    Satisfactory Essays