Preview

Chapter 8 Problem 1

Satisfactory Essays
Open Document
Open Document
175 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Chapter 8 Problem 1
Paul Cauthon
IT/210
October 31, 2014
Daryl Davis

Declare Student[100] As String
Delare Test1[100] As Integer
Declare Test2[100] As Integer
Declare Test3[100] As Integer
Declare Count As Integer
Open “Grades” For Output As Newfile
Set Count = 0

Write “Enter the students name and test score from test 1.”
Write “Enter ZZZ for the name and 0 for score when done.”
Input Student
Input Test1

While Student != ZZZ and Test1,Test2,Test3 !=0 Write “Enter the students name and score from test 1.” Write “EnterZZZ for the name and 0 for the score when done.” Input Student[Count] Input Test1[Count]
Set Count = Count + 1 End While
For (K = 0, K < Count, K ++)
Write “Enter test 2 score for”+ Student[K]
Input Test2
Write “Enter test 3 score for”+Student[K]
Input Test3
Write Newfile, Student[K], Test1[K], Test2[K], Test3[K]
End For

Analysis: The problems required output is the students name with scores from three tests. Each student and scores shall be listed on separate lines. The input variables needed for this program include Test1, Test2, Test3, and Student.

Chapter 8 Problem 1. Part A and B

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Chapter 12 Assignment

    • 498 Words
    • 2 Pages

    Individual Assessment John Appleseed ACC/291 June 30, 2011 William Backer Individual Assessment E9-2 Trudy Company incurred the following costs. 1. Sales tax on factory machinery purchased $ 5,000 2. Painting of and lettering on truck immediately upon purchase 700 3. Installation and testing of factory machinery 2,000 4.…

    • 498 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    “The prices of corn Rises and falls in response to changes in supply and demand”…

    • 316 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Unit 6 Problem Set 1

    • 116 Words
    • 1 Page

    Baldeo Persaud NT 1230 Unit 6 Problem Set 1 Matching Complete the following exercise by matching the terms with their corresponding definitions. a. conserves WAN bandwidth b. files cached on each client c. files cached on a central server d. files changed since the last backup job e. based on the former Terminal Services f. configuration settings and registry information g. executes PowerShell commands on remote computers h. previous versions i. accessible from a Window 7 installation disk j. saves data to a VHD file ___E____ 1. Remote Desktop ____J___ 2. system image backup ___A____ 3. BranchCache ___B____ 4.…

    • 116 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Unit 1 Chapter Exercise

    • 649 Words
    • 2 Pages

    1. Briefly, what does the process of installing an operating system such as Fedora/RHEL involve?…

    • 649 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Input names of students from the user, terminated by ZZZ, and create a data file GRADES with records of the form: student(string), test1(integer), test2(integer), test3(integer). In this file, all test scores should b e set equal to 0.…

    • 349 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Chapter 2 Problem 1 17

    • 1081 Words
    • 3 Pages

    The earth consists of iron, oxygen, silicon and magnesium. This makes up about 90% of the earth’s elements. Jupiter and Saturn on the other hand consist mostly of volatile gases like water, methane and ammonia. These two planets retained their volatiles due to their greater gravitational force.…

    • 1081 Words
    • 3 Pages
    Better Essays
  • Powerful Essays

    Exercise 1-9 Final Exam

    • 1831 Words
    • 8 Pages

    can phone in or mail in your exam. If you’re unable to take the exam…

    • 1831 Words
    • 8 Pages
    Powerful Essays
  • Satisfactory Essays

    3. You need to count the number of students with last names beginning with the same letter. For example, count all students with last names beginning with A, then count last names beginning with B, etc. Simply adding a Subtotal function to the worksheet will result in completely useless results since the data is not categorized yet.…

    • 432 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    c. Modify the program of Part b so that at the option of the user, it displays…

    • 300 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    It 210 Week 7

    • 286 Words
    • 2 Pages

    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:…

    • 286 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Chapter 3 Assignment

    • 1788 Words
    • 6 Pages

    13:00 indicates it is 1:00 pm on a 12-hour clock. On a 12-hour clock there is am and pm, and for the 24-hour clock there´s no am and pm but for it to be 1:00 am on a 24-hour clock it is 00:00 clock. I am more familiar with the 12-hour clock because it is easier to understand.…

    • 1788 Words
    • 6 Pages
    Better Essays
  • Good Essays

    Chapter 3 Analysis

    • 778 Words
    • 4 Pages

    From reading chapter 3 about “The Hidden Origins of Slavery” in the book titled A Different Mirror by Ronald Takaki it is found that there is much evil spoken of about black skinned people and their relationships with white people. Takaki mentioned, “In the English mind, the color black was freighted with an array of negative images: deeply stained dirt, foul, dark or deadly in purpose, malignant, sinister, wicked. The color white, on the other hand, signified purity, innocence, and goodness.” Today in our country majority of people regardless of their race would be opposed and even disgusted with this statement of offense.…

    • 778 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Lab 3 Student

    • 1264 Words
    • 7 Pages

    Step 4: Write the exact output you would expect from the following line of code if the user of the program enters a name of Nolan Owens and they have taken 20 credits so far. (Reference: Displaying Items, page 40 – 41).…

    • 1264 Words
    • 7 Pages
    Satisfactory Essays
  • Good Essays

    although sex has a biological foundation, sexual practices vary from place to place as an element of culture.…

    • 844 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Unit VIII, Question 11

    • 444 Words
    • 2 Pages

    Transnational crime is a crime with multiple meaning, which is consider to be crime committed in one or more states, but extensive part of its preparation, planning, direction or control takes place in another state (Bohm & Haley, 2008, p. 532). It is an organized crime that have spread across borders that involving groups working in more than one country to arrange and carry out criminal dealing speculations. Transnational organized crime groups have also been involved in hijacking, terrorism, and civil wars (Bohm & Haley, 2008, p. 535). Some significant criminal activities of transnational crime groups are noticeable in numerous varieties, including as cybercrime, trafficking in drugs, attempt to damage government organizations, money laundering, smuggling weapons and even persons. For example, criminals over and over again use the internet to commit a large amount of offenses known as cyber crimes such as the recent activity of the Target scandal. In which thieves stole over 40 million of Target’s customer credit card numbers, and unfortunately I was one of the victims of that incident. Despairingly, in the future law enforcement agencies should enhance their fight against transnational organized crime.…

    • 444 Words
    • 2 Pages
    Satisfactory Essays

Related Topics