Write a complete and
syntactically correct Python program to solve the following
problem:
Write a program for your professor that allows him to keep a record
of the students’ average grade in his class. The program must be
written in accordance with the following specs:
1. The input must be interactive from the keyboard. You will take
input for 12 students.
2. You will input the students’ name and an average grade. The student cannot enter an average below zero or above 100. Your program must raise and handle an exception should this occur.
a. The exception should cause the program to return and get a new grade
3. Write all output to a file named grades.txt
4. Close the output file.
5. Open the file grades.txt for input.
6. Your program will raise and handle an exception if the file is not found.
a. I will
test this aspect by changing the file name and looking for your
exception
code (your exception should cause program to ask for correct file
name).
7. Read all the records from the file and display them.
Please help me to finish this code:
name,grade=input().split()
grade=int(grade)
if grade <0 or grade>100:
exceptioncheck()
def execptioncheck():
name,grade=input().split()
In: Computer Science
Question 1
One area of law which has been developing is that of the mass tort
and/or class action. For example, tobacco companies won every case
filed against them, year in and year out, until they finally
started losing when the lawyers got together to attack the tobacco
companies. There have been large numbers of lawsuits, or class
actions, related to asbestos, lead, pollution (think of the movie
"Erin Brockovich"), tires which failed on Ford Explorers,
etc.
Assume that you are the in-charge auditor for a client company
which does engineering design services for buildings, bridges,
roads, port facilities, and other such items. During the year, a
pedestrian walkway collapsed; the company had designed it for a
stock-car racetrack in North Carolina. 20/20, the Sunday night
network television program, showed some on-camera interviews in
which someone made the claim that the walkway collapsed because the
people who designed it had never had to solve problems 30
while they were in college; instead, all the tests they had taken
were multiple-choice tests, and the result was that the people who
designed the walkway did not know how to do so properly. In fact,
the whole world had evidence that the design was improper, because
the ten-month-old walkway had spontaneously collapsed on a clear
day with little wind, when nobody was on the walkway. Thus, the
designers could not credibly claim that the walkway had been
subjected to stresses beyond those it was supposed to have been
designed to handle.
Required:
Design an audit program for asserted and unasserted claims against
this client company. Cite the authoritative professional literature
related to the claims, and show how your audit program fulfills
your professional responsibilities.
In: Accounting
Martha decided to make some delicious homemade baked mac and cheese. She placed it in the oven that was really hot and when it was ready she took it out. While she left for a second, her son Elijah came in the kitchen and immediately went to grab the hot dish and yelled “OOWWW I BURNT MY HAND” his pain receptors screamed.
1. Which of the following correctly described the afferent pathway?
a) Transduction of the pain occurred outside the peripheral axons of the primary afferent neuron.
b) The AP travels through the cell body then the peripheral axons then the central axon
c) The AP travels through the peripheral axons then the cell body then the central axon.
d) Two of the above
e) None of the above
2. Elijah immediately took his hand off the dish by contracting his biceps. How did he accomplish this?
a) Shortened the sarcomere by shortening the thin and thick filaments
b) While shortening the sarcomere, he lost his H zone and the A band.
c) The troponin left the tropomyosin to do its job in covering up the actin binding site so cross bridges can’t form.
d) Two of above
e) None of the above
3. Elijah was so scared and frightened that he started having trouble breathing and became really anxious. As a patient with COPD, he was having a really hard time breathing so his mom ran to get his inhaler. What did the albuterol inhaler do?
a) Albuterol binds to cholinergic receptors in the bronchioles to move more air.
b) Caused his bronchioles to constrict.
c) Risked the possibility of the albuterol binding to adrenergic receptors in the heart and cause an EPSP
d) Two of the above
e) All of the above
In: Anatomy and Physiology
for stat students, model ( linear regression, multiple regression,factorial experiments,liner model) For one statistical method, give at least three reasons why the underlying statistical model is important. three reasons for each one
In: Statistics and Probability
In the current unprecedented business climate, how do think this “economic phenomenon” will be explained to accounting , economic and finance students in the future.How do YOU think it will affect the future education of business disciplines (accounting, economics, and finance) in the future?
In: Accounting
In: Nursing
1) Why is conducting Covid research among students so important?
2) Why is the notion of ‘do no harm’ so important when conducting marketing research on topics such as CBD legalization and the use of cannabis in vaping devices?
In: Economics
A group of 50 randomly selected students have a mean score of 30.8 with a standard deviation of 3.5 on a placement test. Is their statistically significant evidence, at a 1% significance level, to say that the true mean score is greater than 30?
In: Statistics and Probability
A psychologist wants to study whether 6th grade or 10th grade students have more empathy for others. Which method of research would you prefer to have used: cross-sectional or longitudinal? Explain your preference.
In: Psychology
What activity could you have the students do after reading them the book Who We Are? What is a classroom change that you can make throughout the year to help encourage multiculturalism all year long?
In: Nursing