Write a program that reads the marks of a student in the test (te), midterm (mid),...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a program that reads the marks of a student in the test (te), midterm (mid), assignment (assig) and final exam (fi) and the practical mark (pm). The program calculates and displays the theory mark which equals to 70% of the sum of the test, midterm, assignment and final exam. Then it calculates and displays the Total mark by adding the practical mark to the theory mark. Sample Dialog Format: Enter test, mid, assignment, final and practical marks: 15 16 12 43 25 70% of theory marks: 60.200000 Total mark of 60.200000 and 25= 90.200000 Note: Write the program by hand on a paper. Scan, then upload. Write a program that reads the marks of a student in the test (te), midterm (mid), assignment (assig) and final exam (fi) and the practical mark (pm). The program calculates and displays the theory mark which equals to 70% of the sum of the test, midterm, assignment and final exam. Then it calculates and displays the Total mark by adding the practical mark to the theory mark. Sample Dialog Format: Enter test, mid, assignment, final and practical marks: 15 16 12 43 25 70% of theory marks: 60.200000 Total mark of 60.200000 and 25= 90.200000 Note: Write the program by hand on a paper. Scan, then upload.
Expert Answer:
Answer rating: 100% (QA)
You can write this in a Python file for example calculatemarkspy Program to calculate theory and tot... View the full answer
Related Book For
Statistics For Management And Economics Abbreviated
ISBN: 9781285869643
10th Edition
Authors: Gerald Keller
Posted Date:
Students also viewed these programming questions
-
At t = 0, a linear harmonic oscillator is in the state: 1 |s(0)) = {|0) + |1}}, 2 (3) where |0) and |1) are the first two eigenstates of the Hamiltonian of the oscillator. How does the expectation...
-
Truman, an HR Manager, was recently hired at Fang corp. to help make the organization a more attractive place to work. Whereas their competitors have the resources to offer expensive benefits and...
-
Imagine you are traveling in a wide open space. You walk 2 0 . 0 m due north, and then 1 7 . 0 m due east. what is your displacement start to finish?
-
What is the equal payment series for 12 years that is equivalent to a payment series of $25,000 at the end of the first year, decreasing by $1,200 each year over 12 years? Interest is 7% compounded...
-
What is a main reason for the strong U.S. dollar?
-
Design a circuit that implements majority voting for five individuals.
-
Why is the distinction between general and specific indicators of eco-efficiency important for accounting in (a) ecological and (b) financial terms?
-
At December 31, 2014, Townlynn Corporation reported the stockholders equity accounts shown here (with dollar amounts in millions, except per-share amounts). Common stock $2.00 par value per share,...
-
During the month of February, Sandhill Corporation's employees earned wages of $73,450. Withholdings related to these wages were $5,619 for FICA, $7,045 for federal income tax, and $1,950 for state...
-
What are the triads using roman numerals and figured bass numbers for this excerpt? 30-3. Use Roman numerals and figured bass numbers to identify triads in these works. a. Schubert, "Death and the...
-
Consider the following recursive definition. Acker(m, n) = n+1, if m = 0; Acker(m, n) = Acker(m - 1, 1), if n = 0; Acker(m, n) = Acker(m - 1, Acker(m, n - 1)), otherwise. This function, called...
-
What areas of law are pertinent to this case study ? Describe what the identified areas of law cover, and explain how they are relevant to the issues raised in the case study . (9 marks) (Question...
-
How will the policies of the new Spanish Presidency of the EU Council impact other European nations? New policies are: Promote a strategic approach to competitiveness reduce regulatory burden for...
-
TITLE OF THE ANALYSIS /CONCEPT BEING APPLIED Start with a definition of the concept from the text book and how it applies to the news article. Be sure to include a description of how operation...
-
To complete this assignment, you need to access the 2014 case study by Verizon on data breaches, which is available at the following link:...
-
Sally is three years old and has just commenced at Happy Children's early learning center. She has cerebral palsy and is an only child. Her parents are concerned about how she will cope in the...
-
Pink Heart Co. pays their employees once per month. Employees were last paid on December 15, 2021 and the company's fiscal year-end is December 31, 2021. The average salary expense per month is...
-
Why is homeostasis defined as the "relative constancy of the internal environments? Does negative feedback or positive feedback tend to promote homeostasis?
-
The agronomist referred to in Exercise believed that the amount of rainfall as well as the amount of fertilizer used would affect the crop yield. She redid the experiment in the following way. Thirty...
-
Estimate with 95% confidence the difference in the amount of television (TVHOURS) watched by males and females.
-
The number of users of an automatic banking machine is Poisson distributed. The mean number of users per 5-minute interval is 1.5. Find the probability of the following events. a. No users in the...
-
In planning a new engagement, which of the following is not a factor that affects the CPAs judgment as to the quantity, type, and content of working papers? a. The content of the clients...
-
Discuss the similarities and differences betw1een Maslows hierarchy of needs theory and E.R.G. theory. What insights do you gain from each theory?
-
Discuss the different ways of expressing the need for power as described in McClellands achievement motivation theory. Which of the two types of power do you respond to best? Why?
Study smarter with the SolutionInn App