GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

In this assignment you will create a program to process the…

In this assignment you will create a program to process the attached file (data.txt) to calculate the grades for a course. Each line of the file has the following format: Name Test1 Test2 Test3 ( 20% ) Write code to read and process the file. ( 10% )Create a function to calculate and return the average of three tests. ( 10% )Create a function to determine and return the letter grade based on any given average.  Based on that, compute an average score and a final grade for each student. Grade is to be assigned as:A if the total is at least 90, B if it is at last 80, C if it is at least 70, D if it is at least 60, and F otherwise. ( 20% ) Compute the class average and the average grade for the class.  ( See sample output. HINT: use \t  (tabs) to separate name test1, test2, …   ). ( 20% ) Determine the Grades Distribution ( See sample output. Hint: Use accumulators to count the number of As, Bs, etc  ). ( 20% ) Code must COMPILE and RUN as expected. ( does NOT compile: -20%, compiles and runs partial output: partial points ) .input file—————————– input file ( dataStudents.txt)———————————–  Sami 83 65 85Bill 94 100 90John 100 81 82Mary 65 50 74Adam 50 72 45Juan 100 85 90Alex 90 70 95Luke 60 75 50 Sample output Cop 2800Name    Test1   Test2   Test3   Avg     Grade———————————————–Sami       83.0    65.0    85.0    77.67    CBill          94.0    100.0   90.0    94.67   AJohn       100.0   81.0    82.0    87.67   BMary        65.0    50.0    74.0    63.00   DAdam       50.0    72.0    45.0    55.67   FJuan        100.0   85.0    90.0    91.67   AAlex         90.0    70.0    95.0    85.00   BLuke        60.0    75.0    50.0    61.67   D Class Average: 77.13Average Grade: C ———- Grades Distribution ———-A: 2B: 2C: 1D: 2F: 1

Read Details

There is a fungus that parasitizes ants, turning them into “…

There is a fungus that parasitizes ants, turning them into “zombies”.  It is quite likely that this fungus is the inspiration for the fungus in the series, “The Last of Us”. What is the proper name (Genus + specific epithet) of this fungus?

Read Details

You are working at a Women’s Clinic, and a patient is being…

You are working at a Women’s Clinic, and a patient is being worked-up for infertility.  Microscopic examination of the patient’s rather foul-smelling frothy vaginal discharge provides the image shown below.    What is the proper name of the organism most likely responsible for the patient’s problems? [organism] a. Trichina trichiuris b. Trichomonas vaginalis c. Trichinella spiralis d. Trichophyton rubrum How is this pathogen transmitted? [transmission] a. airborne b. fecal-oral c. sex d. through contact with objects such as toilet seats    

Read Details

The above image shows legume roots and root nodules. What ar…

The above image shows legume roots and root nodules. What are the two roles of the plant in the root nodule relationship shown in the image, above?  [plantroot] a.  Provide fixed carbon and make leghemoglobin. b.  Provide fixed carbon and make phospholipids. c.  Provide fixed nitrogen and make leghemoglobin. d.  Provide fixed nitrogen and make phospholipids. What is the role of leghemoglobin?  [leghemoglobin] a.  bind carbon b. bind nitrogen c.  bind oxygen d.  bind phosphorus What is the name of the bacteria found in root nodules, such as those shown in the above image?  [bacteria] a.  Rhizobium b.  Rhizoobium c.  Rhizopus d.  Rhizoopus

Read Details

What type of agent caused the brain pathology shown in the a…

What type of agent caused the brain pathology shown in the above image? [agent] a.  bacteria b.  prions c.  protozoa d.  viruses In which Kingdom does the agent that caused this brain pathology belong? [kingdom] a. Animalia b.  Fungi c.  Monera d. Plantae e. none  

Read Details

A mycelium can produce spores by mitosis, or yeasts can prod…

A mycelium can produce spores by mitosis, or yeasts can produce daughter cells by mitosis or budding.  What type of reproduction is this?

Read Details

What is the balanced equation for photosynthesis? (up to 2.5…

What is the balanced equation for photosynthesis? (up to 2.5 points) Note: you do not have to use subscripts, nor do you need arrows.  Simply type your answer with the proper numbers, and spaces.  For example:  2 H2O2 + catalase = 2 H2O + 2 O2

Read Details

After an afternoon mushroom hunting, a patient cooks and eat…

After an afternoon mushroom hunting, a patient cooks and eats her harvest.  Unfortunately, she becomes very ill, and suffers severe liver damage. What is the technical term for this type of fungal disease?

Read Details

What is the data type of the following attribute: ZIP code.

What is the data type of the following attribute: ZIP code.

Read Details

The specimen, shown above, was taken from the lungs of a cow…

The specimen, shown above, was taken from the lungs of a cow dying of anthrax. What is the proper name of the pathogen shown in the image, above?  [anthrax] a.  Bacillus anthracas b.  Bacillus anthraces c.  Bacillus anthracis d.  Bacillus anthrasus What part of this pathogen can be weaponized for bioterrorism use?  [bioterrorism] a.  cell wall b.  cell membrane c.  endospore d.  flagella

Read Details

Posts pagination

Newer posts 1 … 44,079 44,080 44,081 44,082 44,083 … 77,768 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top