Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Write a program that will allow a teacher to calculate the average test score for a certain number of students.  The teacher can enter the number of students who took the test, and then the score for each student.  Your program will then calculate the average score, the lowest, and highest score and print out the results.  You program must use appropriate loop, modules, and run multiple times for different sets of test scores.

Now, remember that validation plays an important role here. For example, your program should catch blank, zero, negative numbers, and strings. Your output must be rounded (my sample video does not do it)

Here is a simple running copy as a sample:

Score Average

Requirements

Your lab submission should consist of a single Python file, Lab5.py, uploaded to the Lab 5 dropbox. The Lab5.py file should meet all of the following requirements:

  • Your name given as the author.
  • Comments including a brief description of the program, Input List and Output List, and full pseudocode. Place the pseudocode for each module above the module's Python code. Remember that each module must have a description. 
  • The program must have at least one input and at least one output.
  • All user input must be validated. This means the user is not allowed to just enter any value. You must check the value, and ask the user to enter it again, and repeat this loop until the user enters a valid value.
  • Your program must use at least two arrays in meaningful ways. The array can contain any type of values, as long as they are both used meaningfully in your program.
  • Your program should be organized into separate modules. Each module should be "cohesive" and should only do one thing.
  • Use parameters and arguments to pass values into your modules (don't use global variables).
  • The Python code should run correctly, and the logic should match your pseudocode.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92525209
  • Price:- $30

Priced at Now at $30, Verified Solution

Have any Question?


Related Questions in Computer Engineering

What are some differences between transaction processing

What are some differences between Transaction Processing Information Systems and Management Information Systems?

Question what steps should be taken to detect alleged

Question : What steps should be taken to detect alleged industrial/cyberespionage? Discuss the implications of each of the steps proposed.

What are some ways malware can effect a mac computer can

What are some ways malware can effect a mac computer? Can they be prevented?

Recursive greatest common divisor the greatest common

(Recursive Greatest Common Divisor) The greatest common divisor of integers x and y is the largest integer that evenly divides both x and y. What is a recursive function gcd that returns the greatest common divisor of x ...

Assignmentbullselect two systems in the lab or at home on

Assignment • Select two systems in the lab (or at home on the same LAN) make sure that they you are able to pass messages between them • Establish Wireshark on one of the systems and be sure that you can see all the mess ...

Taskwrite an essay according to the following

Task Write an essay according to the following instructions. Your lecturer will provide few links for relevant articles and/or case studies. These will be available to you just after your second assignment submission dat ...

At a certain temperature this reaction establishes an

At a certain temperature, this reaction establishes an equilibrium with the given equilibrium constant, Kc. Kc = 1.53 * 10^21 3A (g) + 2B (g) ------> 4C(g) If, at this temperature, 1.50 mol of A and 4.00 mol of B are pla ...

Suppose a punched card has 80 columns and 12 rowsa if any

Suppose a punched card has 80 columns and 12 rows. (a) If any number of holes can be punched in the card, how many different cards can there be. If more convenient, you may give your answer in the form of an expression. ...

Jeff decides to start saving some money from this upcoming

Jeff decides to start saving some money from this upcoming month onwards. He decides to save only $500 at first, but each month he will increase the amount invested by $100. He will do it for 60 months (including the fir ...

1 a cpu manufacturing company knows based on the machines

1. A CPU manufacturing company knows, based on the machines working at maximum productivity, that 90% of the CPU's coming off the line meet quality standards. The quality control inspector pulls 25 CPU's off the line to ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As